MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / StF

Function StF

Libraries/unrar/resource.cpp:15–20  ·  view source on GitHub ↗

Needed for Unix swprintf to convert %s to %ls in legacy language resources.

Source from the content-addressed store, hash-verified

13
14// Needed for Unix swprintf to convert %s to %ls in legacy language resources.
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

Callers

nothing calls this directly

Calls 2

PrintfPrepareFmtFunction · 0.85
StFunction · 0.85

Tested by

no test coverage detected