mirror of https://github.com/xzeldon/htop.git
parent
f37a050d3d
commit
b544c22c72
2
Meter.c
2
Meter.c
|
@ -287,7 +287,7 @@ static void BarMeterMode_draw(Meter* this, int x, int y, int w) {
|
||||||
|
|
||||||
int blockSizes[10];
|
int blockSizes[10];
|
||||||
|
|
||||||
xSnprintf(bar, w + 1, "%*s", w, buffer);
|
xSnprintf(bar, w + 1, "%*.*s", w, w, buffer);
|
||||||
|
|
||||||
// First draw in the bar[] buffer...
|
// First draw in the bar[] buffer...
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
|
|
Loading…
Reference in New Issue