Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
22
Src/external_dependencies/openmpt-trunk/include/unrar/resource.cpp
vendored
Normal file
22
Src/external_dependencies/openmpt-trunk/include/unrar/resource.cpp
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
#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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue