diff options
| author | rdaneelolivaw <unknown> | 2007-01-03 02:17:01 +0000 |
|---|---|---|
| committer | rdaneelolivaw <unknown> | 2007-01-03 02:17:01 +0000 |
| commit | 25f7f8796f241606c1f1812da6afa83f4d344b9c (patch) | |
| tree | 06398ef73d667b4c717dfd19f2d5f759e3d83629 /gtk/ScintillaGTK.cxx | |
| parent | cf139647de21d582698b18c200ccab2d3d089692 (diff) | |
| download | scintilla-mirror-25f7f8796f241606c1f1812da6afa83f4d344b9c.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 |
