summaryrefslogtreecommitdiff
path: root/src/fltk-devices-surface-paged-printers.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-devices-surface-paged-printers.adb')
-rw-r--r--src/fltk-devices-surface-paged-printers.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fltk-devices-surface-paged-printers.adb b/src/fltk-devices-surface-paged-printers.adb
index f5c964a..d454f78 100644
--- a/src/fltk-devices-surface-paged-printers.adb
+++ b/src/fltk-devices-surface-paged-printers.adb
@@ -349,7 +349,7 @@ package body FLTK.Devices.Surface.Paged.Printers is
(This : in out Printer) is
begin
fl_printer_set_current (This.Void_Ptr);
- Current_Ptr := This'Unchecked_Access;
+ This.Set_Current_Bookkeep;
end Set_Current;