diff options
author | Nathan Scott <nathans@redhat.com> | 2020-08-18 20:24:11 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-08-18 20:24:11 +1000 |
commit | ed6f22a847fe1f12c38d32aaa960bcd48dc5b7c0 (patch) | |
tree | 9e5165a0de8dbac6a4c406f491045b48a733d12c | |
parent | 7ac1c709b727bd460889f2765db9e2a37535ef90 (diff) | |
parent | 2f59798b3b512b717ce139e29ba0d9d0531b90c6 (diff) |
Merge branch 'master' of github.com:htop-dev/htop
-rw-r--r-- | Meter.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -523,6 +523,9 @@ MeterMode* Meter_modes[] = { static void BlankMeter_updateValues(Meter* this, char* buffer, int size) { (void) this; (void) buffer; (void) size; + if (size > 0) { + *buffer = 0; + } } static void BlankMeter_display(Object* cast, RichString* out) { |