--- trunk/reactos/lib/kernel32/misc/utils.c 2005-07-30 18:55:25 UTC (rev 16899)
+++ trunk/reactos/lib/kernel32/misc/utils.c 2005-07-30 19:00:33 UTC (rev 16900)
@@ -15,7 +15,7 @@
/* GLOBALS ******************************************************************/
-PRTL_CONVERT_STRING Basep8BitStringToUnicodeString;
+PRTL_CONVERT_STRING Basep8BitStringToUnicodeString = RtlAnsiStringToUnicodeString;
/* FUNCTIONS ****************************************************************/
@@ -94,11 +94,11 @@
Status = Basep8BitStringToUnicodeString(UnicodeString, &AnsiString, TRUE);
/* Handle failure */
- /* Return Status */
if (!NT_SUCCESS(Status))
{
SetLastErrorByStatus(Status);
}
+ /* Return Status */
return Status;
}