forked from Mirrors/wine-wine
comdlg32/fontdlg: Remove dead assignment (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
9f5260300d
commit
1a7121b327
|
@ -1011,7 +1011,7 @@ static LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFO
|
|||
/* face name */
|
||||
i=SendDlgItemMessageW(hDlg,cmb1,CB_GETCURSEL,0,0);
|
||||
if (i==CB_ERR)
|
||||
i=GetDlgItemTextW( hDlg, cmb1, str, 256 );
|
||||
GetDlgItemTextW( hDlg, cmb1, str, sizeof(str)/sizeof(str[0]) );
|
||||
else
|
||||
{
|
||||
SendDlgItemMessageW(hDlg,cmb1,CB_GETLBTEXT,i,
|
||||
|
|
Loading…
Reference in New Issue