From 64c3229bd724a13ab2ec1457a19ef09cc87d612a Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 4 Apr 2009 16:55:13 +0000 Subject: [PATCH] Hum... 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiSpellchecker.cpp b/src/frontends/qt4/GuiSpellchecker.cpp index 0051aba140..56969abeec 100644 --- a/src/frontends/qt4/GuiSpellchecker.cpp +++ b/src/frontends/qt4/GuiSpellchecker.cpp @@ -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; }