mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-25 21:53:32 -04: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++) {
|
||||
// Note: m_key is never 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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user