Removed compilation warnings from modern systems

This commit is contained in:
Bill Spitzak
2014-11-24 16:29:11 -08:00
parent d7543b20a1
commit 7c3b8d7ed0
5 changed files with 12 additions and 9 deletions

View File

@ -182,8 +182,8 @@ int test_shortcut(int shortcut) {
int Handle_Hotkey() {
for (int i = 0; keybindings[i].key; i++) {
if (Fl::test_shortcut(keybindings[i].key) ||
(keybindings[i].key & 0xFFFF) == FL_Delete
&& Fl::event_key() == FL_BackSpace// fltk bug?
((keybindings[i].key & 0xFFFF) == FL_Delete
&& Fl::event_key() == FL_BackSpace)// fltk bug?
) {
keybindings[i].func();
return 1;