From 2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:18 +0200 Subject: Imported Upstream version 0.5.4 --- SwapMeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SwapMeter.c') diff --git a/SwapMeter.c b/SwapMeter.c index 5fa8b31..b22f56a 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] = &(CRT_colors[SWAP]); ((Meter*)this)->setValues = SwapMeter_setValues; ((Object*)this)->display = SwapMeter_display; this->pl = pl; -- cgit v1.2.3