mirror of https://github.com/xzeldon/htop.git
Merge pull request #2 from leetonidas/master
fixed display of blank bars
This commit is contained in:
commit
2f59798b3b
3
Meter.c
3
Meter.c
|
@ -523,6 +523,9 @@ MeterMode* Meter_modes[] = {
|
||||||
|
|
||||||
static void BlankMeter_updateValues(Meter* this, char* buffer, int size) {
|
static void BlankMeter_updateValues(Meter* this, char* buffer, int size) {
|
||||||
(void) this; (void) buffer; (void) size;
|
(void) this; (void) buffer; (void) size;
|
||||||
|
if (size > 0) {
|
||||||
|
*buffer = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void BlankMeter_display(Object* cast, RichString* out) {
|
static void BlankMeter_display(Object* cast, RichString* out) {
|
||||||
|
|
Loading…
Reference in New Issue