Allow "depth <n>" syntax.
[gnushogi.git] / gnushogi / commondsp.c
index 45c2e2e..ac058ff 100644 (file)
@@ -1860,7 +1860,7 @@ InputCommand(char *command)
         }
         else if (strcmp(s, "depth") == 0)
         {
-            dsp->ChangeSearchDepth();
+            dsp->ChangeSearchDepth(sx + strlen("depth"));
         }
         else if (strcmp(s, "hashdepth") == 0)
         {