diff options
author | nyamatongwe <unknown> | 2001-08-17 01:44:16 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-08-17 01:44:16 +0000 |
commit | 10d05e2b650cc081ba9ec858bf248608e06284f1 (patch) | |
tree | 4eb2186f655abaeeadb19af181322520ad7d4c0b | |
parent | e33279ebec4a7cdf63b7cc2880b25c7b4be5c478 (diff) | |
download | scintilla-mirror-10d05e2b650cc081ba9ec858bf248608e06284f1.tar.gz |
Changed handling of keys >= 256 to try to make Russian work like Hungarian.
-rw-r--r-- | gtk/ScintillaGTK.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index cc4f342c0..af921e5e3 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1316,9 +1316,9 @@ gint ScintillaGTK::KeyPress(GtkWidget *widget, GdkEventKey *event) { key &= 0x7F; else key = KeyTranslate(key); - // Hack for keys between 256 and 511 but makes Hungarian work. - if ((key >= GDK_Aogonek) && (key <= GDK_abovedot)) - key &= 0xff; + // Hack for keys over 256 but makes Hungarian work. + // This will have to change for Unicode + key &= 0xff; bool consumed = false; int added = sciThis->KeyDown(key, shift, ctrl, alt, &consumed); |