c4group: Fix incorrect swprintf usage

stable-5.3
Nicolas Hake 2013-01-11 23:41:58 +01:00
parent ce164830a7
commit a202001564
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ int RegisterShellExtensions()
for (i = 0; SCopySegment(strClasses2, i, strClass); i++)
{
// Pack
swprintf(strCommand, 2048, L"\"%s\" \"%%1\" \"-p\"", strModule);
_snwprintf(strCommand, 2048, L"\"%s\" \"%%1\" \"-p\"", strModule);
if (!SetRegShell(GetWideChar(strClass), L"MakeGroupFile", L"C4Group Pack", strCommand))
return 0;
}