mirror of https://github.com/xzeldon/htop.git
Normalize ZFS ARC caption
Other captions take the form of LABEL:<space>. This moves the uncompressed ZFS ARC caption into the same style.
This commit is contained in:
parent
b5e6952cc6
commit
f97fbd668a
|
@ -60,7 +60,6 @@ static void ZfsArcMeter_display(Object* cast, RichString* out) {
|
||||||
Meter* this = (Meter*)cast;
|
Meter* this = (Meter*)cast;
|
||||||
|
|
||||||
if (this->values[5] > 0) {
|
if (this->values[5] > 0) {
|
||||||
RichString_write(out, CRT_colors[METER_TEXT], ":");
|
|
||||||
Meter_humanUnit(buffer, this->total, 50);
|
Meter_humanUnit(buffer, this->total, 50);
|
||||||
RichString_append(out, CRT_colors[METER_VALUE], buffer);
|
RichString_append(out, CRT_colors[METER_VALUE], buffer);
|
||||||
Meter_humanUnit(buffer, this->values[5], 50);
|
Meter_humanUnit(buffer, this->values[5], 50);
|
||||||
|
@ -100,5 +99,5 @@ MeterClass ZfsArcMeter_class = {
|
||||||
.attributes = ZfsArcMeter_attributes,
|
.attributes = ZfsArcMeter_attributes,
|
||||||
.name = "ZFSARC",
|
.name = "ZFSARC",
|
||||||
.uiName = "ZFS ARC",
|
.uiName = "ZFS ARC",
|
||||||
.caption = "ARC"
|
.caption = "ARC: "
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue