mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Invalid json comparison
This commit is contained in:
@@ -162,7 +162,7 @@ namespace hex::plugin::builtin {
|
||||
static int selection = [&]() -> int {
|
||||
u16 index = 0;
|
||||
for (auto &[languageCode, languageName] : languages) {
|
||||
if (languageCode == setting)
|
||||
if (setting.get<std::string>() == languageCode)
|
||||
return index;
|
||||
index++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user