X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.c;h=794ae4949548ce1ac2434884ee5d2026910e32e5;hb=14005df069bf869fc3185ebb19b3460aa041f1bc;hp=d0eb77270bc521e9bbd434e4c8d181cd12f39a8c;hpb=3b33cbae38e5384a728931bc614dd51942a5f7cf;p=xboard.git diff --git a/winboard/winboard.c b/winboard/winboard.c index d0eb772..794ae49 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -8712,8 +8712,11 @@ int GameListOptions() result = DialogBoxParam( hInst, MAKEINTRESOURCE(DLG_GameListOptions), hwndMain, (DLGPROC)lpProc, (LPARAM)lpUserGLT ); if( result == 0 ) { + char *oldTags = appData.gameListTags; /* [AS] Memory leak here! */ appData.gameListTags = strdup( lpUserGLT ); + if(strcmp(oldTags, appData.gameListTags)) // [HGM] redo Game List when we changed something + GameListToListBox(NULL, TRUE, ".", NULL, FALSE, FALSE); // "." as filter is kludge to select all } return result; @@ -9776,6 +9779,7 @@ OutputToProcess(ProcRef pr, char *message, int count, int *outError) int outCount = SOCKET_ERROR; ChildProc *cp = (ChildProc *) pr; static OVERLAPPED ovl; + static int line = 0; if (pr == NoProc)