summaryrefslogtreecommitdiff
path: root/src/fltk-devices-surface-paged-printers.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2024-12-24 12:33:28 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2024-12-24 12:33:28 +1300
commitba40e0e277a2a959209e082fd62a3c2e796a9566 (patch)
tree0412bdb5cb3930229f86dbc99549d7a9448a6909 /src/fltk-devices-surface-paged-printers.adb
parentb3f9e96403aa5cb9d7db2330aa579356d1d58b6f (diff)
Completed Fl_Surface_Device binding
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;