diff options
-rw-r--r-- | src/fltk-widgets-groups.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fltk-widgets-groups.adb b/src/fltk-widgets-groups.adb index e580323..97391da 100644 --- a/src/fltk-widgets-groups.adb +++ b/src/fltk-widgets-groups.adb @@ -207,7 +207,7 @@ package body FLTK.Widgets.Groups is (This : in out Group; Place : in Index) is begin - fl_group_remove2 (This.Void_Ptr, Interfaces.C.int (Place)); + fl_group_remove2 (This.Void_Ptr, Interfaces.C.int (Place - 1)); end Remove; |