Let XBoard -autoBox option also affect move type-in
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 2 Mar 2013 21:21:29 +0000 (22:21 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Thu, 2 May 2013 12:54:30 +0000 (14:54 +0200)
dialogs.c

index bed4610..6db2b3c 100644 (file)
--- a/dialogs.c
+++ b/dialogs.c
@@ -1229,8 +1229,8 @@ PopUpMoveDialog (char firstchar)
 void
 BoxAutoPopUp (char *buf)
 {
+       if(!appData.autoBox) return;
        if(appData.icsActive) { // text typed to board in ICS mode: divert to ICS input box
-           if(!appData.autoBox) return;
            if(DialogExists(InputBoxDlg)) { // box already exists: append to current contents
                char *p, newText[MSG_SIZ];
                GetWidgetText(&boxOptions[0], &p);