projects
/
gnushogi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
XBoard: deal with semantic differences in "post" between xboard and xshogi protocols
[gnushogi.git]
/
gnushogi
/
commondsp.c
diff --git
a/gnushogi/commondsp.c
b/gnushogi/commondsp.c
index
7361e76
..
a883051
100644
(file)
--- a/
gnushogi/commondsp.c
+++ b/
gnushogi/commondsp.c
@@
-1615,7
+1615,11
@@
InputCommand(char *command)
}
else if (strcmp(s, "post") == 0)
{
- flag.post = !flag.post;
+ flag.post = (xboard ? 1 : !flag.post);
+ }
+ else if (strcmp(s, "nopost") == 0)
+ {
+ flag.post = 0;
}
else if (strcmp(s, "alg") == 0)
{