Fix InputCommand patch
[gnushogi.git] / gnushogi / commondsp.c
index b8e1ca8..4823f5f 100644 (file)
@@ -1719,7 +1719,7 @@ InputCommand(char *command, int root)
         } else {
             strcpy(sx, command);
             backlog[0]= '\0'; /* make sure no backlog is left */
-            done = true;
+            command = NULL;
         }
 
         /* extract first word */