Commit 1621ff4a authored by Frank Richter's avatar Frank Richter Committed by Alexandre Julliard

Make GetThemeMargins() return default values (0 margin) if the

function does not succeed.
parent 8873d90f
......@@ -225,6 +225,7 @@ HRESULT WINAPI GetThemeMargins(HTHEME hTheme, HDC hdc, int iPartId,
PTHEME_PROPERTY tp;
TRACE("(%d, %d, %d)\n", iPartId, iStateId, iPropId);
memset (pMargins, 0, sizeof (MARGINS));
if(!hTheme)
return E_HANDLE;
......
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