Author: cwittich
Date: Sun Jul 29 22:09:42 2007
New Revision: 28016
URL:
http://svn.reactos.org/svn/reactos?rev=28016&view=rev
Log:
Load correct screensaver's name patch by piulachs (marc dot piulachs at codexchange
dot net)
See issue #2500 for more details.
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 (original)
+++ trunk/reactos/dll/cpl/desk/screensaver.c Sun Jul 29 22:09:42 2007
@@ -381,7 +381,7 @@
hModule = LoadLibraryEx(filename,
NULL,
- DONT_RESOLVE_DLL_REFERENCES);
+ DONT_RESOLVE_DLL_REFERENCES |
LOAD_LIBRARY_AS_DATAFILE);
if (hModule)
{
LoadString(hModule,
@@ -392,7 +392,7 @@
}
else
{
- _tcscpy(ScreenSaverItem->szDisplayName, _T("err"));
+ _tcscpy(ScreenSaverItem->szDisplayName, _T("Unknown"));
}
_tcscpy(ScreenSaverItem->szFilename, filename);