From 9bb27ae1bbee58716a774848462535d2133e4625 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 10 Sep 2018 23:33:25 +1000 Subject: [PATCH] Allow hyphens in map titles --- qcsrc/common/mapinfo.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 0884bc8d79..71b5335d75 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -757,6 +757,7 @@ float MapInfo_isRedundant(string fn, string t) // we allow the visible title to have punctuation the file name does // not, but not vice versa t = strreplace("-", "", t); + fn = strreplace("-", "", fn); if(!strcasecmp(fn, t)) return true; -- 2.39.2