mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Merge pull request #13268 from AdmiralCurtiss/ini-delete-case-sensitive
Common/IniFile: Fix case sensitivity mismatch in IniFile::Section::Delete()
This commit is contained in:
commit
0e5d7d0f2d
@ -85,7 +85,8 @@ bool IniFile::Section::Delete(std::string_view key)
|
||||
return false;
|
||||
|
||||
values.erase(it);
|
||||
keys_order.erase(std::ranges::find(keys_order, key));
|
||||
keys_order.erase(std::ranges::find_if(
|
||||
keys_order, [&](std::string_view v) { return CaseInsensitiveEquals(key, v); }));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user