Author: weiden
Date: Thu Sep 27 21:24:07 2007
New Revision: 29250
URL:
http://svn.reactos.org/svn/reactos?rev=29250&view=rev
Log:
Set the current device mode selection to the current one if the mode was changed
successfully
Modified:
trunk/reactos/dll/win32/shellext/deskadp/deskadp.c
Modified: trunk/reactos/dll/win32/shellext/deskadp/deskadp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shellext/deskadp…
==============================================================================
--- trunk/reactos/dll/win32/shellext/deskadp/deskadp.c (original)
+++ trunk/reactos/dll/win32/shellext/deskadp/deskadp.c Thu Sep 27 21:24:07 2007
@@ -347,6 +347,7 @@
{
/* Save the new mode */
This->lpDevModeOnInit =
This->DeskExtInterface->GetCurrentMode(This->DeskExtInterface->Context);
+ This->lpSelDevMode = This->lpDevModeOnInit;
return PSNRET_NOERROR;
}
else if (lChangeRet == DISP_CHANGE_RESTART)