From a6e61c9b9dac10313dedc401f47d82038753189f Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 16 May 2016 22:21:36 +0200 Subject: [PATCH] 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). --- dialogs.c | 1 + gtk/xboard.c | 1 - 2 files changed, 1 insertions(+), 1 deletions(-) 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, -- 1.7.0.4