Author: manolo
Date: 2011-04-22 04:00:06 -0700 (Fri, 22 Apr 2011)
New Revision: 8618
Log:
Fix STR #2608: the bug had been introduced by r.8552 to solve STR #2598.
The new code makes the STR #2598 changes unix-specific so it does not
interact with the WIN32 platform.
Modified:
branches/branch-1.3/src/Fl_compose.cxx
Modified: branches/branch-1.3/src/Fl_compose.cxx
===================================================================
--- branches/branch-1.3/src/Fl_compose.cxx 2011-04-20 15:41:09 UTC (rev
8617)
+++ branches/branch-1.3/src/Fl_compose.cxx 2011-04-22 11:00:06 UTC (rev
8618)
@@ -64,6 +64,9 @@
Fl::e_keysym == FL_Tab || Fl::e_keysym == FL_Escape ||
Fl::e_state&(FL_META | FL_CTRL) ) {
return 0;
}
+#elif defined(WIN32)
+ unsigned char ascii = (unsigned)e_text[0];
+ if ((e_state & (FL_ALT | FL_META)) && !(ascii & 128)) return 0;
#else
unsigned char ascii = (unsigned)e_text[0];
if ((e_state & (FL_ALT | FL_META | FL_CTRL)) && !(ascii & 128)) return 0;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit