From: H.G. Muller Date: Sat, 14 Sep 2013 10:05:26 +0000 (+0200) Subject: Fix analysis mode in non-XBoard build X-Git-Url: http://winboard.nl/cgi-bin?p=bonanza.git;a=commitdiff_plain;h=5ad93f2f24a2644dbb483531ea36e1e21997b6a6;hp=68fbef80b4cff5f70326d9c3136ca90ad524fce1 Fix analysis mode in non-XBoard build The declaration of the analyze_mode flag was in an XBOARD-controlled conditional code section. --- diff --git a/proce.c b/proce.c index e94c973..cfeabe1 100644 --- a/proce.c +++ b/proce.c @@ -95,13 +95,13 @@ procedure( tree_t * restrict ptree ) char *start_pos, start_data[512]; // [HGM] undo: for remembering start position int move_list[1024], move_ptr; +char analyze_mode; #ifdef XBOARD #define IF(X) else if(!strcmp(command, X)) int myTime, hisTime, movesPerSession, inc, plyNr; char xboard_mode; -char analyze_mode; void xboard_to_CSA( tree_t * restrict ptree, char *in, char *out )