From 266ab52b3a741a58fb17c48b0f7939d7c5d266de Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:19 +0200 Subject: Imported Upstream version 0.6 --- SwapMeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SwapMeter.c') diff --git a/SwapMeter.c b/SwapMeter.c index b22f56a..55a531f 100644 --- a/SwapMeter.c +++ b/SwapMeter.c @@ -33,7 +33,7 @@ struct SwapMeter_ { SwapMeter* SwapMeter_new(ProcessList* pl) { SwapMeter* this = malloc(sizeof(SwapMeter)); Meter_init((Meter*)this, String_copy("Swap"), String_copy("Swp"), 1); - ((Meter*)this)->attributes[0] = &(CRT_colors[SWAP]); + ((Meter*)this)->attributes[0] = SWAP; ((Meter*)this)->setValues = SwapMeter_setValues; ((Object*)this)->display = SwapMeter_display; this->pl = pl; -- cgit v1.2.3