diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:18 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:18 +0200 |
commit | 2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2 (patch) | |
tree | afaa05858260763c1d25fa092f3905cf51ffd7b2 /SwapMeter.c | |
parent | 031c3bb95f3d0a74d985286068baa6dd4d29d83f (diff) | |
download | debian_htop-2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2.tar.gz debian_htop-2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2.tar.bz2 debian_htop-2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2.zip |
Imported Upstream version 0.5.4upstream/0.5.4
Diffstat (limited to 'SwapMeter.c')
-rw-r--r-- | SwapMeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |