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