* added _DISABLE_TIDENTS macro to disable any ANSI/UNICODE ambiguous elements from...
[reactos.git] / reactos / lib / kernel32 / misc / mbchars.c
index 820e96b..278d9a9 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mbchars.c,v 1.3 2003/07/10 18:50:51 chorns Exp $
+/* $Id: mbchars.c,v 1.4 2003/08/07 04:03:23 royce Exp $
  *
  */
 #include <windows.h>
@@ -104,7 +104,7 @@ MultiByteToWideChar(
     //if (-1 == cchMultiByte)
     if (cchMultiByte < 0)
     {
-        InStringLength = lstrlen(lpMultiByteStr) + 1;
+        InStringLength = lstrlenA(lpMultiByteStr) + 1;
     }
     else
     {