From 341ba470f01b01edda5edef75d92c4497b6d3936 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 3 May 2011 00:24:10 +0200 Subject: [PATCH] Lift length-limit on text-edits in WB generic popup --- winboard/wsettings.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 86a9417..e3ddead 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