mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GUI: Fix assert in GUI during MasAdd
If there is an entry without language specified, this would lead to an assert. Yet another consequences of HashMap rewrite. Sigh.
This commit is contained in:
+1
-1
@@ -213,7 +213,7 @@ void MassAddDialog::handleTickle() {
|
||||
if ((*dom)["engineid"] == result.engineId &&
|
||||
(*dom)["gameid"] == result.gameId &&
|
||||
(*dom)["platform"] == resultPlatformCode &&
|
||||
(*dom)["language"] == resultLanguageCode) {
|
||||
dom->getValOrDefault("language") == resultLanguageCode) {
|
||||
duplicate = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user