diff options
author | Torbjörn Andersson | 2006-06-21 00:18:56 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-06-21 00:18:56 +0000 |
commit | 7d334b75a69c0de2fe6671c34d1b7944cc748b3c (patch) | |
tree | 8f4d46785a8c481cacd73491ba2c720e570b9993 | |
parent | 49af7d44c2e799dda335687ae803c27a7c3bd1c1 (diff) | |
download | scummvm-rg350-7d334b75a69c0de2fe6671c34d1b7944cc748b3c.tar.gz scummvm-rg350-7d334b75a69c0de2fe6671c34d1b7944cc748b3c.tar.bz2 scummvm-rg350-7d334b75a69c0de2fe6671c34d1b7944cc748b3c.zip |
Fixed warning.
svn-id: r23210
-rw-r--r-- | gui/editable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/editable.cpp b/gui/editable.cpp index ce4bf6401c..67691861bf 100644 --- a/gui/editable.cpp +++ b/gui/editable.cpp @@ -62,7 +62,7 @@ void EditableWidget::setEditString(const String &str) { } bool EditableWidget::tryInsertChar(byte c, int pos) { - if ((c >= 32 && c <= 127) || (c >= 160 && c <= 255)) { + if ((c >= 32 && c <= 127) || c >= 160) { _editString.insertChar(c, pos); return true; } |