aboutsummaryrefslogtreecommitdiff
path: root/gui/editable.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-06-21 00:18:56 +0000
committerTorbjörn Andersson2006-06-21 00:18:56 +0000
commit7d334b75a69c0de2fe6671c34d1b7944cc748b3c (patch)
tree8f4d46785a8c481cacd73491ba2c720e570b9993 /gui/editable.cpp
parent49af7d44c2e799dda335687ae803c27a7c3bd1c1 (diff)
downloadscummvm-rg350-7d334b75a69c0de2fe6671c34d1b7944cc748b3c.tar.gz
scummvm-rg350-7d334b75a69c0de2fe6671c34d1b7944cc748b3c.tar.bz2
scummvm-rg350-7d334b75a69c0de2fe6671c34d1b7944cc748b3c.zip
Fixed warning.
svn-id: r23210
Diffstat (limited to 'gui/editable.cpp')
-rw-r--r--gui/editable.cpp2
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;
}