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

Function wcslower

Libraries/unrar/unicode.cpp:489–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487
488#ifndef SFX_MODULE
489wchar* wcslower(wchar *s)
490{
491#ifdef _WIN_ALL
492 // _wcslwr requires setlocale and we do not want to depend on setlocale
493 // in Windows. Also CharLower involves less overhead.
494 CharLower(s);
495#else
496 for (wchar *c=s;*c!=0;c++)
497 *c=towlower(*c);
498#endif
499 return s;
500}
501#endif
502
503

Callers 1

ConvertNameCaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected