aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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];