summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-10-06 19:14:55 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-10-06 19:14:55 +0000
commit725a11bce75ffff56ed081c26240510d3bfacd78 (patch)
treeb4003cedb1bf859b98b250ea335305b2fb06e4ad /src/Fl_x.cxx
parente7d805a88ca71a0e6499fe72830e58fe594ef05b (diff)
Applied patches from Bill Spitzak.
Fixed all source files with MS-DOS/Windows line termination (CR+LF) instead of standard line termination (LF only). git-svn-id: file:///fltk/svn/fltk/trunk@8 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 2d5a5ab46..ef0bb386d 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -389,7 +389,7 @@ int fl_handle(const XEvent& xevent)
}
// ignore all effects of shift on the keysyms (makes it a lot
// easier to program shortcuts!)
- keysym = XKeycodeToKeysym(fl_display, i, 0);
+ if (keysym < 0x400) keysym = XKeycodeToKeysym(fl_display, i, 0);
#ifdef __sgi
// get some missing PC keyboard keys:
if (!keysym) switch(i) {