aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2013-04-15 19:07:55 +0200
committerSven Hesse2013-04-15 19:07:55 +0200
commit642708de4c65e555bc65aba7c3b5e71d527b3342 (patch)
tree2983e1c4d99c2bae9e658e5ce82c4de0e4294716 /engines
parentfc50db154559d7b0c61d4213107f294a7cbeb0ec (diff)
downloadscummvm-rg350-642708de4c65e555bc65aba7c3b5e71d527b3342.tar.gz
scummvm-rg350-642708de4c65e555bc65aba7c3b5e71d527b3342.tar.bz2
scummvm-rg350-642708de4c65e555bc65aba7c3b5e71d527b3342.zip
GOB: Fix a misplaced continue / fallthrough
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 ecab9bb906..11b6150626 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -1031,12 +1031,12 @@ uint16 Hotspots::updateInput(uint16 xPos, uint16 yPos, uint16 width, uint16 heig
// Delete the character to the left
_vm->_util->cutFromStr(str, pos - 1, 1);
pos--;
- continue;
} else {
if (pos < strlen(str))
// Delete the character to the right
_vm->_util->cutFromStr(str, pos, 1);
}
+ continue;
case kKeyDelete:
if (pos >= strlen(str))