Skip to content

Commit 57468c4

Browse files
committed
xrCore/Xr_ini: strlwr() -> xr_strlwr().
1 parent e8f6029 commit 57468c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/xrCore/Xr_ini.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ void CInifile::Load(IReader* F, LPCSTR path
317317
}
318318
}
319319
*strchr(str, ']') = 0;
320-
Current->Name = strlwr(str + 1);
320+
Current->Name = xr_strlwr(str + 1);
321321
}
322322
else // name = value
323323
{
@@ -500,7 +500,7 @@ CInifile::Sect& CInifile::r_section(LPCSTR S)const
500500
{
501501
char section[256];
502502
xr_strcpy(section, sizeof(section), S);
503-
strlwr(section);
503+
xr_strlwr(section);
504504
RootCIt I = std::lower_bound(DATA.begin(), DATA.end(), section, sect_pred);
505505
if (!(I != DATA.end() && xr_strcmp(*(*I)->Name, section) == 0))
506506
{
@@ -684,7 +684,7 @@ BOOL CInifile::r_bool(LPCSTR S, LPCSTR L)const
684684
char B[8];
685685
strncpy_s(B, sizeof(B), C, 7);
686686
B[7] = 0;
687-
strlwr(B);
687+
xr_strlwr(B);
688688
return IsBOOL(B);
689689
}
690690

@@ -732,7 +732,7 @@ void CInifile::w_string(LPCSTR S, LPCSTR L, LPCSTR V, LPCSTR comment)
732732
// section
733733
string256 sect;
734734
_parse(sect, S);
735-
_strlwr(sect);
735+
xr_strlwr(sect);
736736

737737
if (!section_exist(sect))
738738
{

0 commit comments

Comments
 (0)