diff options
author | Nathan Scott <natoscott@users.noreply.github.com> | 2020-08-18 20:22:24 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 20:22:24 +1000 |
commit | 2f59798b3b512b717ce139e29ba0d9d0531b90c6 (patch) | |
tree | 40dfde9aea5c74ac28864dfd1f773517e96df649 | |
parent | 98e8da8bd332b10b2c6c2c124ce9fc46fd6a53a6 (diff) | |
parent | 9a70e431296a0f96adda3501dfded8899ac16e82 (diff) |
Merge pull request #2 from leetonidas/master
fixed display of blank bars
-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) { |