aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/predictivedialog.cpp2
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())