X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=fcc27f761d5104209e6b90d8e0af5dbb6251106b;hb=a56bd5ee92e43cbf5537d877fd4010e5e34a3e11;hp=6624aebf422887bb0d3623f880cc73644c7e2dc4;hpb=dd67211f46050409861a109a9778af6594279569;p=xboard.git diff --git a/dialogs.c b/dialogs.c index 6624aeb..fcc27f7 100644 --- a/dialogs.c +++ b/dialogs.c @@ -576,6 +576,7 @@ Option icsOptions[] = { { 0, 0, 0, NULL, (void*) &appData.quietPlay, "", NULL, CheckBox, N_("Quiet Play") }, { 0, 0, 0, NULL, (void*) &appData.seekGraph, "", NULL, CheckBox, N_("Seek Graph") }, { 0, 0, 0, NULL, (void*) &appData.autoRefresh, "", NULL, CheckBox, N_("Auto-Refresh Seek Graph") }, +{ 0, 0, 0, NULL, (void*) &appData.autoBox, "", NULL, CheckBox, N_("Auto-InputBox PopUp") }, { 0, 0, 0, NULL, (void*) &appData.premove, "", NULL, CheckBox, N_("Premove") }, { 0, 0, 0, NULL, (void*) &appData.premoveWhite, "", NULL, CheckBox, N_("Premove for White") }, { 0, 0, 0, NULL, (void*) &appData.premoveWhiteText, "", NULL, TextBox, N_("First White Move:") }, @@ -1227,6 +1228,7 @@ void BoxAutoPopUp (char *buf) { 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);