[RAPPS]
[reactos.git] / reactos / base / applications / rapps / installed.c
index 8c8cb33..fe24472 100644 (file)
@@ -8,7 +8,6 @@
 
 #include "rapps.h"
 
-
 BOOL
 GetApplicationString(HKEY hKey, LPWSTR lpKeyName, LPWSTR lpString)
 {
@@ -24,7 +23,7 @@ GetApplicationString(HKEY hKey, LPWSTR lpKeyName, LPWSTR lpString)
         return TRUE;
     }
 
-    wcscpy(lpString, L"---");
+    (VOID)StringCchCopyW(lpString, MAX_PATH, L"---");
 
     return FALSE;
 }