oleaut32: Fix sizeof() usage (Coverity).

This commit is contained in:
Nikolay Sivov 2011-02-25 12:22:54 +03:00 committed by Alexandre Julliard
parent 653b31047d
commit f801abef48

View file

@ -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) {