winamp/Src/external_dependencies/openmpt-trunk/include/unrar/resource.cpp
2024-09-24 14:54:57 +02:00

23 lines
344 B
C++
Vendored

#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