commands.cxx

changeset 19
66993500719f
parent 17
b4fcc69e426a
child 21
ae602e667879
--- a/commands.cxx	Sat Jul 14 17:39:43 2012 +0300
+++ b/commands.cxx	Sat Jul 14 18:03:37 2012 +0300
@@ -55,7 +55,7 @@
 	CommandDef* curdef = g_CommDef;
 	unsigned int numCommDefs = 0; 
 	
-	while (r->PeekNext().compare ("") != 0) {
+	while (r->PeekNext().len()) {
 		CommandDef* comm = new CommandDef;
 		comm->next = NULL;
 		

mercurial