mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-18 19:33:03 +12:00
Merge pull request #735 from rkmcode/main
This commit is contained in:
commit
338aa72f6f
|
@ -590,7 +590,7 @@ namespace Cpu {
|
||||||
cpuhz += " GHz";
|
cpuhz += " GHz";
|
||||||
}
|
}
|
||||||
else if (hz > 0)
|
else if (hz > 0)
|
||||||
cpuhz = to_string((int)round(hz)) + " MHz";
|
cpuhz = to_string((int)hz) + " MHz";
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (const std::exception& e) {
|
catch (const std::exception& e) {
|
||||||
|
|
Loading…
Reference in a new issue