From: H.G.Muller Date: Mon, 16 May 2016 20:21:36 +0000 (+0200) Subject: Fix compile error Xaw build X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=a6e61c9b9dac10313dedc401f47d82038753189f Fix compile error Xaw build The variable initialSquareSize was not defined in the Xaw build, and now has been moved to dialogs.h (which is part of both builds). --- diff --git a/dialogs.c b/dialogs.c index 9bab615..d0c372a 100644 --- 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; diff --git a/gtk/xboard.c b/gtk/xboard.c index 4a2731a..485e942 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -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,