diff options
author | rdaneelolivaw <devnull@localhost> | 2007-01-03 02:17:01 +0000 |
---|---|---|
committer | rdaneelolivaw <devnull@localhost> | 2007-01-03 02:17:01 +0000 |
commit | dcb0fd2d94cb036c4513a6f1549f3ee93dae34ec (patch) | |
tree | 06398ef73d667b4c717dfd19f2d5f759e3d83629 /gtk/ScintillaGTK.cxx | |
parent | e0f933ace144987173a2c539549ce38b2c514c1e (diff) | |
download | scintilla-mirror-dcb0fd2d94cb036c4513a6f1549f3ee93dae34ec.tar.gz |
Remove [MSVC] compile-time warnings for "empty" controlled statement and gboolean != bool
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rw-r--r-- | gtk/ScintillaGTK.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 2e67f0e4f..5fcfd22a6 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1991,10 +1991,8 @@ gboolean ScintillaGTK::KeyThis(GdkEventKey *event) { // This will have to change for Unicode else if (key >= 0xFE00) key = KeyTranslate(key); - else if (IsUnicodeMode()) - ; // No operation #if GTK_MAJOR_VERSION < 2 - else if ((key >= 0x100) && (key < 0x1000)) + else if (!IsUnicodeMode() && (key >= 0x100) && (key < 0x1000)) key &= 0xff; #endif |