diff options
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 b66197e1..e7f827be 100644 --- a/SwapMeter.c +++ b/SwapMeter.c @@ -46,7 +46,7 @@ void SwapMeter_display(Object* cast, RichString* out) { char buffer[50]; Meter* this = (Meter*)cast; long int swap = (long int) this->values[0]; - RichString_prune(out); + RichString_init(out); RichString_append(out, CRT_colors[METER_TEXT], ":"); sprintf(buffer, "%ldM ", (long int) this->total / 1024); RichString_append(out, CRT_colors[METER_VALUE], buffer); |