diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-04-23 20:08:39 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-04-23 20:08:39 +0000 |
| commit | 433dec6b92526bd28dc98d8f7e7cba4fc77bf3e7 (patch) | |
| tree | 5b807b54799ce066517dc3a28c2014c2f44a4429 /src/Fl_Input_.cxx | |
| parent | b812f9701f92fe1676504c8f36a75b68c4453903 (diff) | |
Changed Makefile in src to use 1.3 instead of 1.1 (STR #1922). Fixed minor issue with handling of shortcuts in text input fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input_.cxx')
| -rw-r--r-- | src/Fl_Input_.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index 2bde01c39..08378f7b8 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -791,9 +791,10 @@ int Fl_Input_::handletext(int event, int X, int Y, int W, int H) { case FL_SHORTCUT: if (!(shortcut() ? Fl::test_shortcut(shortcut()) : test_shortcut())) return 0; - if (Fl::visible_focus() && handle(FL_FOCUS)) + if (Fl::visible_focus() && handle(FL_FOCUS)) { Fl::focus(this); - return 1; + return 1; + } // else fall through default: return 0; |
