Author: akhaldi
Date: Sat Mar 14 10:10:06 2015
New Revision: 66679
URL:
http://svn.reactos.org/svn/reactos?rev=66679&view=rev
Log:
[DESK] Fix a freeze caused by changing screensaver settings. By Peter Hater. CORE-5718
Modified:
trunk/reactos/dll/cpl/desk/screensaver.c
Modified: trunk/reactos/dll/cpl/desk/screensaver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/screensaver.c…
==============================================================================
--- trunk/reactos/dll/cpl/desk/screensaver.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/screensaver.c [iso-8859-1] Sat Mar 14 10:10:06 2015
@@ -175,10 +175,18 @@
DispatchMessage(&msg);
}
}
+ else
+ {
+ return FALSE;
+ }
+ }
+ else if (dwResult == WAIT_OBJECT_0)
+ {
+ return TRUE;
}
else
{
- return TRUE;
+ return FALSE;
}
}
}