X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=blobdiff_plain;f=gnushogi%2Fcommondsp.c;fp=gnushogi%2Fcommondsp.c;h=4a2aa7f3b06bf3a84a8258cac1b451d7cebf8c6c;hp=bcd84e1e18411e297c0cba52f43ddf41f663c528;hb=f6d799e4db50144a9370278018c93387bba6e554;hpb=e099905e58a6cdb20b4b5d39c44d06d50e0762ba diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index bcd84e1..4a2aa7f 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -1629,8 +1629,8 @@ InputCommand(char *command) { /* noop */ ; } - else if ((strcmp(s, "quit") == 0) - || (strcmp(s, "exit") == 0)) + else if ((strcmp(s, "quit") == 0) || + (strcmp(s, "exit") == 0)) { flag.quit = true; } @@ -1650,8 +1650,8 @@ InputCommand(char *command) #endif ); } - else if ((strcmp(s, "set") == 0) - || (strcmp(s, "edit") == 0)) + else if ((strcmp(s, "set") == 0) || + (strcmp(s, "edit") == 0)) { dsp->EditBoard(); } @@ -1830,12 +1830,12 @@ InputCommand(char *command) BookSave(); } #ifdef EASY_OPENINGS - else if ((strcmp(s, "?") == 0) - || (strcmp(s, "!") == 0) - || (strcmp(s, "~") == 0)) + else if ((strcmp(s, "?") == 0) || + (strcmp(s, "!") == 0) || + (strcmp(s, "~") == 0)) #else - else if ((strcmp(s, "?") == 0) - || (strcmp(s, "!") == 0)) + else if ((strcmp(s, "?") == 0) || + (strcmp(s, "!") == 0)) #endif { FlagMove(*s);