mirror of https://github.com/aristocratos/btop.git
Fixed: Removed extra spaces in cpu name
This commit is contained in:
parent
587005f094
commit
9ecea2c94e
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue