mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-12 02:13:06 +00:00
14 lines
254 B
C++
14 lines
254 B
C++
#include "utils/str_case.hpp"
|
|
|
|
namespace devilution {
|
|
|
|
void AsciiStrToLower(std::string &str)
|
|
{
|
|
for (char &c : str) { // NOLINT(readability-identifier-length)
|
|
if (c >= 'A' && c <= 'Z')
|
|
c += ('a' - 'A');
|
|
}
|
|
}
|
|
|
|
} // namespace devilution
|