From f6d799e4db50144a9370278018c93387bba6e554 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Fri, 21 Feb 2014 23:11:30 +0100 Subject: [PATCH] InputCommand: format alternatives consistently. --- gnushogi/commondsp.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) 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); -- 1.7.0.4