Commit 66da3dc3 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Small hack to get rid of annoying err:resource: message for

MessageBoxes.
parent 6417e689
......@@ -182,9 +182,11 @@ LRESULT WINAPI StaticWndProc( HWND32 hWnd, UINT32 uMsg, WPARAM32 wParam,
if (style == SS_ICON)
{
if (cs->lpszName)
if (cs->lpszName) {
if (!HIWORD(cs->lpszName) || cs->lpszName[0])
STATIC_SetIcon( wndPtr,
STATIC_LoadIcon( wndPtr, cs->lpszName ));
}
return 1;
}
if (style == SS_BITMAP)
......
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