QTfrontend/ui/widget/SmartLineEdit.cpp
changeset 6217 ef53ba841791
parent 6205 7764cbe4ddd7
child 6218 999215ca87d7
--- 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;