mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-16 04:11:15 +00:00
Use SDL_strcasecmp for strcmpi
This commit is contained in:
parent
26cd442d95
commit
fbdb89cf20
@ -534,7 +534,7 @@ LegoOmni::World LegoOmni::GetWorldId(const char* p_key)
|
|||||||
for (MxS32 i = 0; i < e_numWorlds; i++) {
|
for (MxS32 i = 0; i < e_numWorlds; i++) {
|
||||||
// Note: m_key is never NULL
|
// Note: m_key is never NULL
|
||||||
if (m_worlds[i].m_key != NULL) {
|
if (m_worlds[i].m_key != NULL) {
|
||||||
if (!strcmpi(m_worlds[i].m_key, p_key)) {
|
if (!SDL_strcasecmp(m_worlds[i].m_key, p_key)) {
|
||||||
return m_worlds[i].m_id;
|
return m_worlds[i].m_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user