From 57468c431db86a39e434387d3c8b13516560f668 Mon Sep 17 00:00:00 2001 From: Alexandr Akulich Date: Fri, 6 Nov 2015 13:14:50 +0600 Subject: [PATCH] xrCore/Xr_ini: strlwr() -> xr_strlwr(). --- src/xrCore/Xr_ini.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xrCore/Xr_ini.cpp b/src/xrCore/Xr_ini.cpp index fbc944686fc..dbbdefefd98 100644 --- a/src/xrCore/Xr_ini.cpp +++ b/src/xrCore/Xr_ini.cpp @@ -317,7 +317,7 @@ void CInifile::Load(IReader* F, LPCSTR path } } *strchr(str, ']') = 0; - Current->Name = strlwr(str + 1); + Current->Name = xr_strlwr(str + 1); } else // name = value { @@ -500,7 +500,7 @@ CInifile::Sect& CInifile::r_section(LPCSTR S)const { char section[256]; xr_strcpy(section, sizeof(section), S); - strlwr(section); + xr_strlwr(section); RootCIt I = std::lower_bound(DATA.begin(), DATA.end(), section, sect_pred); if (!(I != DATA.end() && xr_strcmp(*(*I)->Name, section) == 0)) { @@ -684,7 +684,7 @@ BOOL CInifile::r_bool(LPCSTR S, LPCSTR L)const char B[8]; strncpy_s(B, sizeof(B), C, 7); B[7] = 0; - strlwr(B); + xr_strlwr(B); return IsBOOL(B); } @@ -732,7 +732,7 @@ void CInifile::w_string(LPCSTR S, LPCSTR L, LPCSTR V, LPCSTR comment) // section string256 sect; _parse(sect, S); - _strlwr(sect); + xr_strlwr(sect); if (!section_exist(sect)) {