aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/findbar.cc2
-rw-r--r--src/ui.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/findbar.cc b/src/findbar.cc
index 49cffcd6..713b13ac 100644
--- a/src/findbar.cc
+++ b/src/findbar.cc
@@ -132,7 +132,7 @@ Findbar::Findbar(int width, int height) :
x += input_width + gap;
resizable(i);
i->color(206);
- i->when(WHEN_ENTER_KEY_ALWAYS);
+ i->when(FL_WHEN_ENTER_KEY_ALWAYS);
i->callback(search_cb2, this);
i->clear_tab_to_focus();
i->set_click_to_focus();
diff --git a/src/ui.cc b/src/ui.cc
index 7e0d19a7..a7d2f756 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -469,7 +469,7 @@ PackedGroup *UI::make_location()
Input *i = Location = new CustInput(0,0,0,0,0);
i->color(CuteColor);
- i->when(WHEN_ENTER_KEY);
+ i->when(FL_WHEN_ENTER_KEY);
i->callback(location_cb, this);
i->set_click_to_focus();