]> git.lyx.org Git - features.git/commitdiff
Hum...
authorAbdelrazak Younes <younes@lyx.org>
Sat, 4 Apr 2009 16:55:13 +0000 (16:55 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 4 Apr 2009 16:55:13 +0000 (16:55 +0000)
Copy&paste bug fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29091 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiSpellchecker.cpp

index 0051aba1401c58da272807323a2058e6014d205b..56969abeeca2404c46a657fcc7515023aef1c5e1 100644 (file)
@@ -167,7 +167,7 @@ void GuiSpellchecker::updateSuggestions(docstring_list & words)
        wordED->setText(toqstr(word_.word()));
        suggestionsLW->clear();
 
-       if (words.empty() == 0) {
+       if (words.empty()) {
                suggestionChanged(new QListWidgetItem(wordED->text()));
                return;
        }