mirror of https://github.com/xzeldon/htop.git
Make ZFS Meter "Unavailable" text match others -> FAILED_READ coloring
This commit is contained in:
parent
4cb2b5fc1c
commit
1e39c8fa4d
|
@ -72,7 +72,7 @@ static void ZfsArcMeter_display(const Object* cast, RichString* out) {
|
||||||
RichString_appendAscii(out, CRT_colors[ZFS_OTHER], buffer);
|
RichString_appendAscii(out, CRT_colors[ZFS_OTHER], buffer);
|
||||||
} else {
|
} else {
|
||||||
RichString_writeAscii(out, CRT_colors[METER_TEXT], " ");
|
RichString_writeAscii(out, CRT_colors[METER_TEXT], " ");
|
||||||
RichString_appendAscii(out, CRT_colors[FAILED_SEARCH], "Unavailable");
|
RichString_appendAscii(out, CRT_colors[FAILED_READ], "Unavailable");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ static void ZfsCompressedArcMeter_display(const Object* cast, RichString* out) {
|
||||||
RichString_appendAscii(out, CRT_colors[METER_TEXT], " Ratio");
|
RichString_appendAscii(out, CRT_colors[METER_TEXT], " Ratio");
|
||||||
} else {
|
} else {
|
||||||
RichString_writeAscii(out, CRT_colors[METER_TEXT], " ");
|
RichString_writeAscii(out, CRT_colors[METER_TEXT], " ");
|
||||||
RichString_appendAscii(out, CRT_colors[FAILED_SEARCH], "Compression Unavailable");
|
RichString_appendAscii(out, CRT_colors[FAILED_READ], "Compression Unavailable");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue