Commit 1a7121b3 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comdlg32/fontdlg: Remove dead assignment (Coverity).

parent 9f526030
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment