Author: hpoussin
Date: Fri Jul 25 13:45:54 2008
New Revision: 34788
URL:
http://svn.reactos.org/svn/reactos?rev=34788&view=rev
Log:
Revert incorrect fix committed in r34077 by cfinck, and replace it by a better one.
Modified:
trunk/reactos/dll/win32/msgina/gui.c
trunk/reactos/dll/win32/msgina/msgina.h
Modified: trunk/reactos/dll/win32/msgina/gui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/gui.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/msgina/gui.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/gui.c [iso-8859-1] Fri Jul 25 13:45:54 2008
@@ -51,11 +51,7 @@
if (msg->pTitle)
SetWindowTextW(hwndDlg, msg->pTitle);
SetDlgItemTextW(hwndDlg, IDC_STATUSLABEL, msg->pMessage);
- if (!msg->Context->SignaledStatusWindowCreated)
- {
- msg->Context->SignaledStatusWindowCreated = TRUE;
- SetEvent(msg->StartupEvent);
- }
+ SetEvent(msg->StartupEvent);
return TRUE;
}
}
@@ -140,7 +136,7 @@
return FALSE;
}
- if(pTitle)
+ if (pTitle)
SetWindowTextW(pgContext->hStatusWindow, pTitle);
SetDlgItemTextW(pgContext->hStatusWindow, IDC_STATUSLABEL, pMessage);
@@ -155,8 +151,7 @@
if (pgContext->hStatusWindow)
{
EndDialog(pgContext->hStatusWindow, 0);
- pgContext->hStatusWindow = 0;
- pgContext->SignaledStatusWindowCreated = FALSE;
+ pgContext->hStatusWindow = NULL;
}
return TRUE;
Modified: trunk/reactos/dll/win32/msgina/msgina.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.h?…
==============================================================================
--- trunk/reactos/dll/win32/msgina/msgina.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/msgina.h [iso-8859-1] Fri Jul 25 13:45:54 2008
@@ -18,7 +18,6 @@
PWLX_DISPATCH_VERSION_1_3 pWlxFuncs;
HANDLE hDllInstance;
HWND hStatusWindow;
- BOOL SignaledStatusWindowCreated;
DWORD AutoLogonState;
/* Informations to be filled during logon */