diff options
| author | Manolo Gouy <Manolo> | 2011-04-27 11:21:57 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-04-27 11:21:57 +0000 |
| commit | 73a6f06c3425f2e77282a1e6ee38d23620b859dc (patch) | |
| tree | 8b9f910af440f04fdd6e344301adbefb7a63dd73 /src/Fl_compose.cxx | |
| parent | 0f5ea9a2e23328203e7e8d8142b6919f88ccac8d (diff) | |
Reorganized keyboard input-handling code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_compose.cxx')
| -rw-r--r-- | src/Fl_compose.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_compose.cxx b/src/Fl_compose.cxx index f6b05f3a2..4c8235157 100644 --- a/src/Fl_compose.cxx +++ b/src/Fl_compose.cxx @@ -29,7 +29,6 @@ #include <FL/x.H> #ifndef FL_DOXYGEN -// at present, this is effectively used by Mac OS X only int Fl::compose_state = 0; #endif @@ -74,8 +73,8 @@ int Fl::compose(int& del) { if(Fl::compose_state) { del = Fl::compose_state; Fl::compose_state = 0; - } else { #ifndef __APPLE__ + } else { // Only insert non-control characters: if (! (ascii & ~31 && ascii!=127)) { return 0; } #endif |
