Fix analysis mode in non-XBoard build
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 14 Sep 2013 10:05:26 +0000 (12:05 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 14 Sep 2013 10:05:26 +0000 (12:05 +0200)
The declaration of the analyze_mode flag was in an XBOARD-controlled
conditional code section.

proce.c

diff --git a/proce.c b/proce.c
index e94c973..cfeabe1 100644 (file)
--- 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 )