lpszName of NULL is handled (removes some warnings).

This commit is contained in:
Marcus Meissner 1998-10-31 12:07:51 +00:00 committed by Alexandre Julliard
parent 0e62bbac28
commit 4ef4d6d5ea

View file

@ -196,7 +196,7 @@ LRESULT WINAPI StaticWndProc( HWND32 hWnd, UINT32 uMsg, WPARAM32 wParam,
wndPtr->dwStyle); wndPtr->dwStyle);
return 1; return 1;
} }
if (!HIWORD(cs->lpszName)) { if (!HIWORD(cs->lpszName) && (cs->lpszName)) {
FIXME(static,"windowName is 0x%04x, not doing DefWindowProc\n", FIXME(static,"windowName is 0x%04x, not doing DefWindowProc\n",
LOWORD(cs->lpszName) LOWORD(cs->lpszName)
); );