diff options
author | nyamatongwe <devnull@localhost> | 2000-05-04 11:35:09 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-05-04 11:35:09 +0000 |
commit | 5bc8ef291a4669fa1e223e35eed77a2620223dc6 (patch) | |
tree | 8574ccdab794d82fc10bd86e43938419cffe8057 /gtk/ScintillaGTK.cxx | |
parent | 3689e638aea103d4d5eed65d621cbc5e4b82d129 (diff) | |
download | scintilla-mirror-5bc8ef291a4669fa1e223e35eed77a2620223dc6.tar.gz |
Patched keypad patch to not apply when Ctrl pressed so magnification works again.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rw-r--r-- | gtk/ScintillaGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 65b8023d5..32b708696 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -807,7 +807,7 @@ gint ScintillaGTK::KeyPress(GtkWidget *, GdkEventKey *event, ScintillaGTK *sciTh int key = event->keyval; if (ctrl && (key < 128)) key = toupper(key); - else if (key >= GDK_KP_Multiply && key <= GDK_KP_9) + else if (!ctrl && (key >= GDK_KP_Multiply && key <= GDK_KP_9)) key &= 0x7F; else key = KeyTranslate(key); |