[ros-diffs] [fireball] 23667: Add accidentally deleted line (a call to WideCharToMultiByte() )

fireball at svn.reactos.org fireball at svn.reactos.org
Wed Aug 23 10:24:37 CEST 2006


Author: fireball
Date: Wed Aug 23 12:24:37 2006
New Revision: 23667

URL: http://svn.reactos.org/svn/reactos?rev=23667&view=rev
Log:
Add accidentally deleted line (a call to WideCharToMultiByte() )

Modified:
    trunk/reactos/regtests/winetests/ntdll/reg.c

Modified: trunk/reactos/regtests/winetests/ntdll/reg.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/regtests/winetests/ntdll/reg.c?rev=23667&r1=23666&r2=23667&view=diff
==============================================================================
--- trunk/reactos/regtests/winetests/ntdll/reg.c (original)
+++ trunk/reactos/regtests/winetests/ntdll/reg.c Wed Aug 23 12:24:37 2006
@@ -167,7 +167,7 @@
         ValueNameLength = lstrlenW(ValueName);
 
         ValName = (LPSTR)pRtlAllocateHeap(GetProcessHeap(), 0, ValueNameLength);
-
+        WideCharToMultiByte(0, 0, ValueName, ValueNameLength+1,ValName, ValueNameLength, 0, 0);
 
         trace("ValueName: %s\n", ValName);
     }




More information about the Ros-diffs mailing list