diff options
author | Johannes Schickel | 2012-03-29 02:07:02 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-03-29 02:07:02 +0200 |
commit | 6ed2d15c44ce7ccea005e02f0a8744b2fa9cc807 (patch) | |
tree | 5194d6a3a3ca1d2347b6e058b9a7947b200a4bf8 /gui | |
parent | 7414544121bacef05eb6c4e9a1cf63f225db84be (diff) | |
download | scummvm-rg350-6ed2d15c44ce7ccea005e02f0a8744b2fa9cc807.tar.gz scummvm-rg350-6ed2d15c44ce7ccea005e02f0a8744b2fa9cc807.tar.bz2 scummvm-rg350-6ed2d15c44ce7ccea005e02f0a8744b2fa9cc807.zip |
GUI: Take advantage of Common::String::empty.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/predictivedialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp index 7d5181c9e2..c5c4331ab3 100644 --- a/gui/predictivedialog.cpp +++ b/gui/predictivedialog.cpp @@ -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()) |