aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-01-06 03:09:45 +0000
committercorvid <corvid@lavabit.com>2011-01-06 03:09:45 +0000
commit1aa8c2e16f5fea7763db6415f0684f51d01f4de3 (patch)
tree2f411d2573699a93bf08dd0daf4a61f2e2e4a832 /src
parent8892eae102902313083729b022529dcbc9798fd9 (diff)
when
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();