X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxboard.c;h=d6f47d7ff7a5fe7fa02b29b587cb573b5986926a;hb=189b48237361df4f482800f6e17a52f11595c08a;hp=e42f090f1d31ee27c7b9336918ae3c91e2180b85;hpb=faf7933d96193d30d052f2e75a0271c4309d965b;p=xboard.git diff --git a/gtk/xboard.c b/gtk/xboard.c index e42f090..d6f47d7 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -1152,6 +1152,9 @@ main (int argc, char **argv) BoardToTop(); } + gameInfo.boardWidth = 0; // [HGM] pieces: kludge to ensure InitPosition() calls InitDrawingSizes() + InitPosition(TRUE); + InitBackEnd2(); if (errorExitStatus == -1) { @@ -1172,8 +1175,6 @@ main (int argc, char **argv) } } - gameInfo.boardWidth = 0; // [HGM] pieces: kludge to ensure InitPosition() calls InitDrawingSizes() - InitPosition(TRUE); UpdateLogos(TRUE); // XtSetKeyboardFocus(shellWidget, formWidget); #ifdef TODO_GTK