Merge branch 'fix_zfs_arc_ratio_color' of overhacked/htop

This commit is contained in:
Daniel Lange 2021-02-09 20:02:13 +01:00
commit 4cb2b5fc1c

View File

@ -54,7 +54,7 @@ static void ZfsCompressedArcMeter_display(const Object* cast, RichString* out) {
RichString_appendAscii(out, CRT_colors[METER_VALUE], buffer);
RichString_appendAscii(out, CRT_colors[METER_TEXT], " Compressed, ");
ZfsCompressedArcMeter_printRatioString(this, buffer, sizeof(buffer));
RichString_appendAscii(out, CRT_colors[METER_VALUE], buffer);
RichString_appendAscii(out, CRT_colors[ZFS_RATIO], buffer);
RichString_appendAscii(out, CRT_colors[METER_TEXT], " Ratio");
} else {
RichString_writeAscii(out, CRT_colors[METER_TEXT], " ");