oleaut32: Fix sizeof() usage (Coverity).
This commit is contained in:
parent
653b31047d
commit
f801abef48
|
@ -221,7 +221,7 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams)
|
|||
GetDeviceCaps(hdc, LOGPIXELSY), 72);
|
||||
font_desc.lfCharSet = DEFAULT_CHARSET;
|
||||
memcpy(font_desc.lfFaceName, property_sheet_dialog_data+1,
|
||||
sizeof(WCHAR*)*(lstrlenW(property_sheet_dialog_data+1)+1));
|
||||
sizeof(WCHAR)*(lstrlenW(property_sheet_dialog_data+1)+1));
|
||||
hfont = CreateFontIndirectW(&font_desc);
|
||||
|
||||
if(hfont) {
|
||||
|
|
Loading…
Reference in New Issue