1
0

resource.cpp 344 B

12345678910111213141516171819202122
  1. #include "rar.hpp"
  2. #ifndef RARDLL
  3. const wchar* St(MSGID StringId)
  4. {
  5. return StringId;
  6. }
  7. // Needed for Unix swprintf to convert %s to %ls in legacy language resources.
  8. const wchar *StF(MSGID StringId)
  9. {
  10. static wchar FormattedStr[512];
  11. PrintfPrepareFmt(St(StringId),FormattedStr,ASIZE(FormattedStr));
  12. return FormattedStr;
  13. }
  14. #endif