27 lines
391 B
C++
27 lines
391 B
C++
#include "rar.hpp"
|
|
|
|
|
|
|
|
#ifndef RARDLL
|
|
const char *St(MSGID StringId)
|
|
{
|
|
return(StringId);
|
|
}
|
|
#endif
|
|
|
|
|
|
#ifndef RARDLL
|
|
const wchar *StW(MSGID StringId)
|
|
{
|
|
static wchar StrTable[8][512];
|
|
static int StrNum=0;
|
|
if (++StrNum >= sizeof(StrTable)/sizeof(StrTable[0]))
|
|
StrNum=0;
|
|
wchar *Str=StrTable[StrNum];
|
|
*Str=0;
|
|
CharToWide(StringId,Str,ASIZE(StrTable[0]));
|
|
return(Str);
|
|
}
|
|
#endif
|
|
|
|
|