[Scummvm-git-logs] scummvm master -> c2e633d3494335ec00bbf719aff7de65e58f2e38
sev-
sev at scummvm.org
Fri Aug 11 21:26:19 CEST 2017
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:
c2e633d349 SAGA: Add missing break statement and add fall through comment
Commit: c2e633d3494335ec00bbf719aff7de65e58f2e38
https://github.com/scummvm/scummvm/commit/c2e633d3494335ec00bbf719aff7de65e58f2e38
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-08-11T21:25:36+02:00
Commit Message:
SAGA: Add missing break statement and add fall through comment
Changed paths:
engines/saga/interface.cpp
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index c663313..9dcc8d9 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -1169,6 +1169,7 @@ void Interface::processStatusTextInput(Common::KeyState keystate) {
}
_statusTextInputPos--;
_statusTextInputString[_statusTextInputPos] = 0;
+ break;
default:
if (_statusTextInputPos >= STATUS_TEXT_INPUT_MAX - 1) { // -1 because of the null termination
break;
@@ -1202,6 +1203,7 @@ bool Interface::processTextInput(Common::KeyState keystate) {
break;
}
_textInputPos--;
+ // fall through
case Common::KEYCODE_DELETE:
if (_textInputPos <= _textInputStringLength) {
if (_textInputPos != 1) {
More information about the Scummvm-git-logs
mailing list