mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 03:24:50 +00:00
GUI: Take advantage of Common::String::empty.
This commit is contained in:
parent
7414544121
commit
6ed2d15c44
@ -433,7 +433,7 @@ void PredictiveDialog::processBtnActive(ButtonId button) {
|
||||
if (_currentCode.size()) {
|
||||
_repeatcount[_currentCode.size() - 1] = 0;
|
||||
_currentCode.deleteLastChar();
|
||||
if (_currentCode == Common::String(""))
|
||||
if (_currentCode.empty())
|
||||
_currentWord.clear();
|
||||
} else {
|
||||
if (_prefix.size())
|
||||
|
Loading…
x
Reference in New Issue
Block a user