mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-05 10:57:07 +03:00
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…
x
Reference in New Issue
Block a user