diff -r a6186a8ba90a -r ef53ba841791 QTfrontend/ui/widget/SmartLineEdit.cpp --- a/QTfrontend/ui/widget/SmartLineEdit.cpp Thu Oct 27 02:47:05 2011 +0200 +++ b/QTfrontend/ui/widget/SmartLineEdit.cpp Thu Oct 27 21:33:18 2011 +0400 @@ -199,7 +199,7 @@ match = cmd; // move match to end so next time new matches will be preferred - if (m_cmds->removeAll(cmd) > 0); + if (m_cmds->removeAll(cmd) > 0) m_cmds->append(cmd); break; @@ -218,7 +218,7 @@ isNick = true; // move match to end so next time new matches will be prefered - if (m_nicks->removeAll(nick) > 0); + if (m_nicks->removeAll(nick) > 0) m_nicks->append(nick); break;