summaryrefslogtreecommitdiff
path: root/src/fltk-devices-surface-copy.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-copy.adb
parentb3f9e96403aa5cb9d7db2330aa579356d1d58b6f (diff)
Completed Fl_Surface_Device binding
Diffstat (limited to 'src/fltk-devices-surface-copy.adb')
-rw-r--r--src/fltk-devices-surface-copy.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fltk-devices-surface-copy.adb b/src/fltk-devices-surface-copy.adb
index fe96f91..7bb1c66 100644
--- a/src/fltk-devices-surface-copy.adb
+++ b/src/fltk-devices-surface-copy.adb
@@ -147,7 +147,7 @@ package body FLTK.Devices.Surface.Copy is
(This : in out Copy_Surface) is
begin
fl_copy_surface_set_current (This.Void_Ptr);
- Current_Ptr := This'Unchecked_Access;
+ This.Set_Current_Bookkeep;
end Set_Current;