From 1eda8aba6b01db32e4febc2b73174c5d94c54b99 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 16 Sep 2017 17:02:08 +0300 Subject: [PATCH] Fixed name comparison in checking of IWADINFO lump https://forum.zdoom.org/viewtopic.php?t=57835 --- src/d_iwad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_iwad.cpp b/src/d_iwad.cpp index 5c0653b23..44ecb2ff5 100644 --- a/src/d_iwad.cpp +++ b/src/d_iwad.cpp @@ -335,7 +335,7 @@ int FIWadManager::CheckIWADInfo(const char *fn) delete resfile; for (auto &wadinf : mIWadInfos) { - if (wadinf.Name.Compare(result.Name)) + if (wadinf.Name == result.Name) { return -1; // do not show the same one twice. }