GUI: Take advantage of Common::String::empty.

This commit is contained in:
Johannes Schickel 2012-03-29 02:07:02 +02:00
parent 7414544121
commit 6ed2d15c44

View File

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