X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fcommondsp.c;h=45c2e2e906e0a6cf12d65c9281a830a6cda6c866;hb=ea78287f5e83a2d8c3b65554f853122e470269ff;hp=1c6ae0913452cbbaa30be2370d78246be26fa7b4;hpb=1bb59a0a21523072d40afea808ebaf332192684c;p=gnushogi.git diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 1c6ae09..45c2e2e 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -1558,10 +1558,8 @@ InputCommand(char *command) algbr((short) hint >> 8, (short) hint & 0xff, false); strcpy(s, mvstr[0]); -#if !defined NOPOST if (flag.post) dsp->GiveHint(); -#endif /* do the hint move */ if (VerifyMove(s, VERIFY_AND_TRY_MODE, &mv)) @@ -1664,12 +1662,6 @@ InputCommand(char *command) { flag.quit = true; } -#if !defined NOPOST - else if (strcmp(s, "post") == 0) - { - flag.post = !flag.post; - } -#endif else if ((strcmp(s, "set") == 0) || (strcmp(s, "edit") == 0)) { @@ -2015,8 +2007,6 @@ InputCommand(char *command) } #ifdef notdef /* optional pass best line to frontend with move */ -# if !defined NOPOST - if (flag.post && !flag.mate) { int i; @@ -2029,7 +2019,6 @@ InputCommand(char *command) printf("%5s ", mvstr[0]); } } -# endif printf("\n"); #endif }