XBoard: deal with semantic differences in "post" between xboard and xshogi protocols
[gnushogi.git] / gnushogi / commondsp.c
index 7361e76..a883051 100644 (file)
@@ -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)
         {