MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / LowerStr

Function LowerStr

engine/Poseidon/UI/OptionsUIApp.cpp:1248–1252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1246 const RString& cli = AppConfig::Instance().GetWorkshopDir();
1247 if (cli.GetLength() > 0)
1248 return (const char*)cli;
1249 return Foundation::GamePaths::Instance().WorkshopDir();
1250}
1251
1252static std::string LowerStr(std::string s)
1253{
1254 std::transform(s.begin(), s.end(), s.begin(), [](unsigned char c) { return static_cast<char>(std::tolower(c)); });
1255 return s;

Callers 2

ScanModRowsFunction · 0.70
MergeWorkshopModsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected