[Scummvm-cvs-logs] scummvm master -> 642708de4c65e555bc65aba7c3b5e71d527b3342

DrMcCoy drmccoy at drmccoy.de
Mon Apr 15 19:09:33 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
642708de4c GOB: Fix a misplaced continue / fallthrough


Commit: 642708de4c65e555bc65aba7c3b5e71d527b3342
    https://github.com/scummvm/scummvm/commit/642708de4c65e555bc65aba7c3b5e71d527b3342
Author: Sven Hesse (drmccoy at users.sourceforge.net)
Date: 2013-04-15T10:07:55-07:00

Commit Message:
GOB: Fix a misplaced continue / fallthrough

Changed paths:
    engines/gob/hotspots.cpp



diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index ecab9bb..11b6150 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))






More information about the Scummvm-git-logs mailing list