diff src/core/strings.cc @ 100:f5940a575d83

track/constants: add many more video formats
author Paper <mrpapersonic@gmail.com>
date Fri, 03 Nov 2023 09:43:04 -0400
parents 503bc1547d49
children c537996cf67b
line wrap: on
line diff
--- a/src/core/strings.cc	Fri Nov 03 09:00:46 2023 -0400
+++ b/src/core/strings.cc	Fri Nov 03 09:43:04 2023 -0400
@@ -76,8 +76,7 @@
 	};
 
 	for (const auto& item : map)
-		if (string.find(item.first) != std::string::npos)
-			string = ReplaceAll(string, item.first, item.second);
+		string = ReplaceAll(string, item.first, item.second);
 	return string;
 }