From 93be3211aeb3bccc198d5d19596e198888c94d3e Mon Sep 17 00:00:00 2001 From: Sohaib Mohamed Date: Wed, 7 Jul 2021 13:59:33 +1000 Subject: [PATCH] PCP: use palette meter text colour for dynamic meter labels --- pcp/PCPDynamicMeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */