summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-06-03 00:54:03 +1000
committerJed Barber <jjbarber@y7mail.com>2017-06-03 00:54:03 +1000
commit768a69af8e4fbbfb1d1b8e7b3c6cc448e1eb981f (patch)
tree104de93a9a2c7d1b08a3b46325d759a667f49726 /src
parent4a4bb20c15fdb43df7914dfa7aea090a9ad7fe9a (diff)
Updated to match latest FLTK binding
Diffstat (limited to 'src')
-rw-r--r--src/adapad.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adapad.adb b/src/adapad.adb
index 2eee6bb..c9ff4e3 100644
--- a/src/adapad.adb
+++ b/src/adapad.adb
@@ -315,9 +315,9 @@ package body Adapad is
(Item : in out FLTK.Widgets.Widget'Class) is
begin
if FLTK.Widgets.Menus.Menu (Item).Chosen.Value then
- Editor.Set_Wrap_Mode (Windows.Editor.Wrap_At_Bounds);
+ Editor.Set_Wrap_Mode (Windows.Editor.Bounds);
else
- Editor.Set_Wrap_Mode (Windows.Editor.Wrap_None);
+ Editor.Set_Wrap_Mode (Windows.Editor.None);
end if;
end Wrap_CB;