QuietUnrar/Carthage/Checkouts/UnrarKit/Libraries/unrar/resource.cpp

23 lines
344 B
C++
Raw Permalink Normal View History

#include "rar.hpp"
2022-04-18 06:14:03 +02:00
#ifndef RARDLL
2022-04-18 06:14:03 +02:00
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