Sync to trunk revision 61757.
[reactos.git] / base / applications / rapps / installed.c
index 57adbb6..fe24472 100644 (file)
@@ -23,7 +23,7 @@ GetApplicationString(HKEY hKey, LPWSTR lpKeyName, LPWSTR lpString)
         return TRUE;
     }
 
-    wcscpy(lpString, L"---");
+    (VOID)StringCchCopyW(lpString, MAX_PATH, L"---");
 
     return FALSE;
 }