Skip to content

Commit

Permalink
Fixes STR#3207, issue with ^C not working when numlock or capslock is…
Browse files Browse the repository at this point in the history
… on.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
erco77 committed Mar 10, 2015
1 parent faad46f commit cc24369
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Fl_Help_View.cxx
Expand Up @@ -3003,7 +3003,8 @@ Fl_Help_View::handle(int event) // I - Event to handle
}
return 1;
case FL_SHORTCUT: {
if (Fl::event_state() == FL_COMMAND) {
int mods = Fl::event_state() & (FL_META|FL_CTRL|FL_ALT|FL_SHIFT);
if ( mods == FL_COMMAND) {
switch ( Fl::event_key() ) {
case 'a': select_all(); redraw(); return 1;
case 'c':
Expand Down

0 comments on commit cc24369

Please sign in to comment.