summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Input.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx
index 6dd026b00..88ea49cc3 100644
--- a/src/Fl_Input.cxx
+++ b/src/Fl_Input.cxx
@@ -409,7 +409,7 @@ int Fl_Input::handle_key() {
case FL_KP_Enter:
if (when() & FL_WHEN_ENTER_KEY) {
insert_position(size(), 0);
- maybe_do_callback();
+ maybe_do_callback(FL_REASON_ENTER_KEY);
return 1;
} else if (multiline && !readonly()) {
return replace(insert_position(), mark(), "\n", 1);