Author: janderwald
Date: Fri Sep 7 00:18:15 2007
New Revision: 28908
URL:
http://svn.reactos.org/svn/reactos?rev=28908&view=rev
Log:
- fix bug in GetCPFileNameFromRegistry spotted by Daniel Zimmermann ;)
Modified:
trunk/reactos/dll/win32/kernel32/misc/nls.c
Modified: trunk/reactos/dll/win32/kernel32/misc/nls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/nl…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/nls.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/nls.c Fri Sep 7 00:18:15 2007
@@ -854,6 +854,7 @@
if (NT_SUCCESS(Status) && Kvpi->Type == REG_SZ &&
Kvpi->DataLength > sizeof(WCHAR))
{
+ bRetValue = TRUE;
if (FileName != NULL)
{
lstrcpynW(FileName, (WCHAR*)Kvpi->Data,