From: H.G. Muller Date: Fri, 6 May 2011 16:58:08 +0000 (+0200) Subject: Add partcipants at bottom in tourney dialog (WB) X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=4d18660fbeb5a02a77d65986dd7207092534a67d;p=xboard.git Add partcipants at bottom in tourney dialog (WB) --- diff --git a/winboard/wsettings.c b/winboard/wsettings.c index d1e7eec..db41147 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -705,7 +705,7 @@ void AddToTourney(HWND hDlg) // strncat(buf, "\r\n", MSG_SIZ); int i = ComboBox_GetCurSel(GetDlgItem(hDlg, 2001+2*3)); snprintf(buf, MSG_SIZ, "%s\r\n", engineMnemonic[i+1]); - SendMessage( GetDlgItem(hDlg, 2001+2*5), EM_SETSEL, 0, 0 ); + SendMessage( GetDlgItem(hDlg, 2001+2*5), EM_SETSEL, 99999, 99999 ); SendMessage( GetDlgItem(hDlg, 2001+2*5), EM_REPLACESEL, (WPARAM) FALSE, (LPARAM) buf ); }