From 642708de4c65e555bc65aba7c3b5e71d527b3342 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Mon, 15 Apr 2013 19:07:55 +0200 Subject: GOB: Fix a misplaced continue / fallthrough --- engines/gob/hotspots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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)) -- cgit v1.2.3