Commit 65dd1578 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

uxtheme: Assign to struct instead of using CopyMemory.

parent e8aebfcb
......@@ -135,7 +135,7 @@ HRESULT WINAPI GetThemeSysFont(HTHEME hTheme, int iFontID, LOGFONTW *plf)
case TMT_MSGBOXFONT: font = &ncm.lfMessageFont; break;
default: FIXME("Unknown FontID: %d\n", iFontID); break;
}
if(font) CopyMemory(plf, font, sizeof(LOGFONTW));
if(font) *plf = *font;
else hr = STG_E_INVALIDPARAMETER;
}
return hr;
......
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