X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwsettings.c;h=db4114712ebb4a715bbb71d98dc3e3e2cbc4ee7d;hb=4d18660fbeb5a02a77d65986dd7207092534a67d;hp=86a94175a567e56ac30c14d14cd84c6e9aca3594;hpb=be12082df5c3ef2c7ef9fe133d1ff397acec7a33;p=xboard.git diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 86a9417..db41147 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -326,8 +326,8 @@ GetOptionValues(HWND hDlg, ChessProgramState *cps, Option *optionList) // read out all controls, and if value is altered, remember it and send it to the engine { HANDLE hwndCombo; - int i, k, new=0, changed=0; - char **choices, newText[MSG_SIZ], buf[MSG_SIZ]; + int i, k, new=0, changed=0, len; + char **choices, newText[MSG_SIZ], buf[MSG_SIZ], *text; BOOL success; for(i=0; i