From: William A. Rowe Jr Date: Thu, 16 Aug 2001 18:06:30 +0000 (+0000) Subject: A bit overboard - this registered window message only needs to be X-Git-Tag: 2.0.24~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b56f36bae70b7c94a38b83a9fa4aa09fb0b76a5e;p=apache A bit overboard - this registered window message only needs to be retrieved once git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90234 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c index f82aa427b3..1916e10d04 100644 --- a/support/win32/ApacheMonitor.c +++ b/support/win32/ApacheMonitor.c @@ -1411,10 +1411,10 @@ int WINAPI WinMain(HINSTANCE hInstance, InitCommonControls(); g_hInstance = hInstance; g_hwndMain = CreateMainWindow(hInstance); + g_bUiTaskbarCreated = RegisterWindowMessage("TaskbarCreated"); InitializeCriticalSection(&g_stcSection); if (g_hwndMain != NULL) { - g_bUiTaskbarCreated = RegisterWindowMessage("TaskbarCreated"); while (GetMessage(&msg, NULL, 0, 0) == TRUE) { TranslateMessage(&msg);