Use SDL_strcasecmp for strcmpi

This commit is contained in:
Christian Semmler 2025-05-24 08:17:36 -07:00
parent 26cd442d95
commit fbdb89cf20
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -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;
}
}