projects
/
gnushogi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Provide "sd <n>" as (primary) alias of "depth <n>" for xboard conformance.
[gnushogi.git]
/
gnushogi
/
commondsp.c
diff --git
a/gnushogi/commondsp.c
b/gnushogi/commondsp.c
index
ac058ff
..
2839fc9
100644
(file)
--- a/
gnushogi/commondsp.c
+++ b/
gnushogi/commondsp.c
@@
-1862,6
+1862,10
@@
InputCommand(char *command)
{
dsp->ChangeSearchDepth(sx + strlen("depth"));
}
+ else if (strcmp(s, "sd") == 0)
+ {
+ dsp->ChangeSearchDepth(sx + strlen("sd"));
+ }
else if (strcmp(s, "hashdepth") == 0)
{
dsp->ChangeHashDepth();