summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_compose.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_compose.cxx b/src/Fl_compose.cxx
index 9185188ee..f6b05f3a2 100644
--- a/src/Fl_compose.cxx
+++ b/src/Fl_compose.cxx
@@ -64,6 +64,9 @@ int Fl::compose(int& del) {
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;