From 4ef4d6d5ea6d6d41b13b30203963f937cf12c1ab Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 31 Oct 1998 12:07:51 +0000 Subject: [PATCH] lpszName of NULL is handled (removes some warnings). --- controls/static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/static.c b/controls/static.c index 4b9cb75f625..56a71367cd9 100644 --- a/controls/static.c +++ b/controls/static.c @@ -196,7 +196,7 @@ LRESULT WINAPI StaticWndProc( HWND32 hWnd, UINT32 uMsg, WPARAM32 wParam, wndPtr->dwStyle); return 1; } - if (!HIWORD(cs->lpszName)) { + if (!HIWORD(cs->lpszName) && (cs->lpszName)) { FIXME(static,"windowName is 0x%04x, not doing DefWindowProc\n", LOWORD(cs->lpszName) );