update for HEAD-2003091401
[reactos.git] / lib / msvcrt / stdlib / wmakpath.c
index 9367bdc..5026ca3 100644 (file)
@@ -4,13 +4,17 @@
 #include <msvcrt/string.h>
 
 
+/*
+ * @implemented
+ */
 void _wmakepath(wchar_t* path, const wchar_t* drive, const wchar_t* dir, const wchar_t* fname, const wchar_t* ext)
 {
     int dir_len;
 
     if ((drive != NULL) && (*drive)) {
-        wcscpy(path, drive);
-        wcscat(path, L":");
+        path[0] = *drive;
+       path[1] = L':';
+       path[2] = 0;
     } else {
         (*path) = 0;
     }