blob: 2eec79c76b4c83a15f0494df6b5e57882e12c03d [file] [log] [blame]
#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