projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0016be1
)
Fix compile error Xaw build
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Mon, 16 May 2016 20:21:36 +0000 (22:21 +0200)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Mon, 16 May 2016 20:21:36 +0000 (22:21 +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
patch
|
blob
|
history
gtk/xboard.c
patch
|
blob
|
history
diff --git
a/dialogs.c
b/dialogs.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;
diff --git
a/gtk/xboard.c
b/gtk/xboard.c
index
4a2731a
..
485e942
100644
(file)
--- 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,