mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Embracing branches
This commit is contained in:
@ -177,7 +177,9 @@ double Platform_setCPUValues(Meter* this, int cpu) {
|
||||
}
|
||||
|
||||
percent = CLAMP(percent, 0.0, 100.0);
|
||||
if (isnan(percent)) percent = 0.0;
|
||||
if (isnan(percent)) {
|
||||
percent = 0.0;
|
||||
}
|
||||
|
||||
v[CPU_METER_FREQUENCY] = NAN;
|
||||
|
||||
|
Reference in New Issue
Block a user