Fix compile error Xaw build
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 16 May 2016 20:21:36 +0000 (22:21 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 17 Jul 2016 20:46:28 +0000 (22:46 +0200)
The variable initialSquareSize was not defined in the Xaw build,
and now has been moved to dialogs.h (which is part of both builds).

dialogs.c
gtk/xboard.c

index 9bab615..d0c372a 100644 (file)
--- a/dialogs.c
+++ b/dialogs.c
@@ -64,6 +64,7 @@ extern char *getenv();
 #endif
 
 
+int initialSquareSize;
 int values[MAX_OPTIONS];
 ChessProgramState *currentCps;
 char manDir[MSG_SIZ] = MANDIR;
index 4a2731a..485e942 100644 (file)
@@ -256,7 +256,6 @@ GtkAccelGroup *GtkAccelerators;
 typedef unsigned int BoardSize;
 BoardSize boardSize;
 Boolean chessProgram;
-int initialSquareSize;
 
 int  minX, minY; // [HGM] placement: volatile limits on upper-left corner
 int smallLayout = 0, tinyLayout = 0,