clamav/libclamunrar/resource.cpp
Micah Snyder (micasnyd) 091c4ee6a7 Updated UnRAR 5.7.5 to 5.9.2.
As with the previous libclamunrar commit, this update maintains the hack
in dll.cpp:332 that allows skipping of files in solid archives.
2020-05-01 14:22:17 -07:00

22 lines
344 B
C++

#include "rar.hpp"
#ifndef RARDLL
const wchar* St(MSGID StringId)
{
return StringId;
}
// Needed for Unix swprintf to convert %s to %ls in legacy language resources.
const wchar *StF(MSGID StringId)
{
static wchar FormattedStr[512];
PrintfPrepareFmt(St(StringId),FormattedStr,ASIZE(FormattedStr));
return FormattedStr;
}
#endif