X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.c;h=6f26f2b7376d4bf6a370c583d592fab472f044ea;hb=222c259543a8125e7391106f8a6c0f9d9720efc9;hp=b73f861b8dc7c458bf6e68b0e8f9fc913153abe5;hpb=7570c887958cb7523dc6801bdeafff15acde5163;p=xboard.git diff --git a/winboard/winboard.c b/winboard/winboard.c index b73f861..6f26f2b 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -249,7 +249,7 @@ Boolean barbaric; // flag indicating if translation is needed #define ABOUTBOX -1 /* not sure why these are needed */ #define ABOUTBOX2 -1 -int dialogItems[][41 ] = { +int dialogItems[][42] = { { ABOUTBOX, IDOK, OPT_MESS, 400 }, { DLG_TimeControl, IDC_Babble, OPT_TCUseMoves, OPT_TCUseInc, OPT_TCUseFixed, OPT_TCtext1, OPT_TCtext2, OPT_TCitext1, OPT_TCitext2, OPT_TCftext, GPB_Factors, IDC_Factor1, IDC_Factor2, IDOK, IDCANCEL }, @@ -8544,7 +8544,7 @@ DisplayIcsInteractionTitle(char *str) char consoleTitle[MSG_SIZ]; snprintf(consoleTitle, MSG_SIZ, "%s: %s", szConsoleTitle, str); - SetWindowText(hwndConsole, consoleTitle); + SetWindowText(hwndConsole, consoleTitle); if(appData.chatBoxes) { // [HGM] chat: open chat boxes char buf[MSG_SIZ], *p = buf, *q; @@ -8555,6 +8555,8 @@ DisplayIcsInteractionTitle(char *str) if(*p) ChatPopUp(p); } while(p=q); } + + SetActiveWindow(hwndMain); } void