Fixed: Removed extra spaces in cpu name

This commit is contained in:
aristocratos 2021-10-26 23:50:28 +02:00
parent 587005f094
commit 9ecea2c94e

View file

@ -218,6 +218,7 @@ namespace Cpu {
name.pop_back();
for (const auto& replace : {"Processor", "CPU", "(R)", "(TM)", "Intel", "AMD", "Core"}) {
name = s_replace(name, replace, "");
name = s_replace(name, " ", " ");
}
name = trim(name);
}