Fix stack object overrun when an application calls ChooseFontA.
This commit is contained in:
parent
0af2487a51
commit
9abbc913d2
|
@ -590,7 +590,7 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
|
||||||
HCURSOR hcursor=SetCursor(LoadCursorW(0,(LPWSTR)IDC_WAIT));
|
HCURSOR hcursor=SetCursor(LoadCursorW(0,(LPWSTR)IDC_WAIT));
|
||||||
static const WCHAR strColorName[] = {'[','c','o','l','o','r',' ','n','a','m','e',']',0};
|
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;
|
lpxx=lpcf->lpLogFont;
|
||||||
TRACE("WM_INITDIALOG lParam=%08lX\n", lParam);
|
TRACE("WM_INITDIALOG lParam=%08lX\n", lParam);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue