diff options
Diffstat (limited to 'src/Fl_compose.cxx')
| -rw-r--r-- | src/Fl_compose.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Fl_compose.cxx b/src/Fl_compose.cxx index 44526ce8c..ada731a22 100644 --- a/src/Fl_compose.cxx +++ b/src/Fl_compose.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_compose.cxx,v 1.1.2.2 2000/02/29 21:54:55 mike Exp $" +// "$Id: Fl_compose.cxx,v 1.1.2.3 2000/03/05 06:51:05 bill Exp $" // // Character compose processing for the Fast Light Tool Kit (FLTK). // @@ -64,9 +64,6 @@ int Fl::compose(int& del) { del = 0; char ascii = e_text[0]; - // The Delete and other special keys should not be composed... - if (ascii < 32 || ascii == 127) return 0; - // Alt+letters are reserved for shortcuts. But alt+foreign letters // has to be allowed, because some key layouts require alt to be held // down in order to type them... @@ -132,7 +129,7 @@ int Fl::compose(int& del) { #endif // Only insert non-control characters: - if (e_length && (ascii&~31)) {compose_state = 0; return 1;} + if (e_length && (ascii & ~31 && ascii!=127)) {compose_state = 0; return 1;} return 0; } |
