Fix stack object overrun when an application calls ChooseFontA.

This commit is contained in:
Troy Rollo 2005-02-25 14:00:38 +00:00 committed by Alexandre Julliard
parent 0af2487a51
commit 9abbc913d2
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
HCURSOR hcursor=SetCursor(LoadCursorW(0,(LPWSTR)IDC_WAIT));
static const WCHAR strColorName[] = {'[','c','o','l','o','r',' ','n','a','m','e',']',0};
SetPropW(hDlg, strWineFontData, (HANDLE)lParam);
SetPropW(hDlg, strWineFontData, (HANDLE)lpcf);
lpxx=lpcf->lpLogFont;
TRACE("WM_INITDIALOG lParam=%08lX\n", lParam);