SAGA: Add missing break statement and add fall through comment

This commit is contained in:
Eugene Sandulenko 2017-08-11 21:25:36 +02:00
parent b840320c5b
commit c2e633d349

View file

@ -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) {