diff options
Diffstat (limited to 'src/fltk-devices-surface-image.adb')
-rw-r--r-- | src/fltk-devices-surface-image.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fltk-devices-surface-image.adb b/src/fltk-devices-surface-image.adb index d9a5e1b..e9e7de4 100644 --- a/src/fltk-devices-surface-image.adb +++ b/src/fltk-devices-surface-image.adb @@ -162,7 +162,7 @@ package body FLTK.Devices.Surface.Image is (This : in out Image_Surface) is begin fl_image_surface_set_current (This.Void_Ptr); - Current_Ptr := This'Unchecked_Access; + This.Set_Current_Bookkeep; end Set_Current; |