aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2009-07-05 19:57:08 +0000
committerSven Hesse2009-07-05 19:57:08 +0000
commit9f0245094b8eb2ba5626cf96498ee360a3366f27 (patch)
tree20c8ffaaa4097ecd881bd60bdcad75fafa349634 /engines
parentc4dc61edb54c244b4df5c9f1503cb983e2021030 (diff)
downloadscummvm-rg350-9f0245094b8eb2ba5626cf96498ee360a3366f27.tar.gz
scummvm-rg350-9f0245094b8eb2ba5626cf96498ee360a3366f27.tar.bz2
scummvm-rg350-9f0245094b8eb2ba5626cf96498ee360a3366f27.zip
Ooops, fixing monospaced text input again
svn-id: r42146
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/hotspots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index eca9a250b4..49c4c32032 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -681,7 +681,7 @@ uint16 Hotspots::readString(uint16 xPos, uint16 yPos, uint16 width, uint16 heigh
bool monoSpaced = (font.extraData == 0);
uint32 pos = strlen(str);
- uint32 editSize = monoSpaced ? 0 : (width / font.itemWidth);
+ uint32 editSize = monoSpaced ? (width / font.itemWidth) : 0;
uint16 key = 0;
char tempStr[256];