From b56f36bae70b7c94a38b83a9fa4aa09fb0b76a5e Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 16 Aug 2001 18:06:30 +0000 Subject: [PATCH] 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 --- support/win32/ApacheMonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1