aboutsummaryrefslogtreecommitdiff
path: root/Src/external_dependencies/openmpt-trunk/include/unrar/resource.cpp
blob: dadd072360dc82c49cec8ed17ecda63e094b75c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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