diff options
author | Sohaib Mohamed <sohaib.amhmd@gmail.com> | 2021-07-07 13:59:33 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-07-07 13:59:33 +1000 |
commit | 93be3211aeb3bccc198d5d19596e198888c94d3e (patch) | |
tree | d26b9fe2901ad1ed1b11e1c8aee7c095c4ffaaa5 | |
parent | f0ed0fdafb9ecefc9d103ffb8f5d91bf723518f6 (diff) |
PCP: use palette meter text colour for dynamic meter labels
-rw-r--r-- | pcp/PCPDynamicMeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcp/PCPDynamicMeter.c b/pcp/PCPDynamicMeter.c index 0dad1ec3..511d964e 100644 --- a/pcp/PCPDynamicMeter.c +++ b/pcp/PCPDynamicMeter.c @@ -329,7 +329,7 @@ void PCPDynamicMeter_display(PCPDynamicMeter* this, ATTR_UNUSED const Meter* met if (metric->label) { len = xSnprintf(buffer, sizeof(buffer), "%s ", metric->label); - RichString_appendnAscii(out, CRT_colors[metric->color], buffer, len); + RichString_appendnAscii(out, CRT_colors[METER_TEXT], buffer, len); } /* TODO: pretty-print the values - pmConvScale, etc */ |