mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
BUGFIX: Fix crash when adding meters and toggling detailed CPU time.
See https://bugzilla.redhat.com/show_bug.cgi?id=987805 for details. (thanks to Dawid Gajownik for the detailed analysis!)
This commit is contained in:
@ -66,7 +66,7 @@ MeterClass MemoryMeter_class = {
|
||||
},
|
||||
.setValues = MemoryMeter_setValues,
|
||||
.defaultMode = BAR_METERMODE,
|
||||
.items = 3,
|
||||
.maxItems = 3,
|
||||
.total = 100.0,
|
||||
.attributes = MemoryMeter_attributes,
|
||||
"Memory",
|
||||
|
Reference in New Issue
Block a user