mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SAGA: Add missing break statement and add fall through comment
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user