projects
/
gnushogi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Allow "depth <n>" syntax.
[gnushogi.git]
/
gnushogi
/
commondsp.c
diff --git
a/gnushogi/commondsp.c
b/gnushogi/commondsp.c
index
45c2e2e
..
ac058ff
100644
(file)
--- a/
gnushogi/commondsp.c
+++ b/
gnushogi/commondsp.c
@@
-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)
{