fix vertical bars

This commit is contained in:
marschap
2006-06-05 09:12:29 +00:00
parent 1044c8efa6
commit 34193a935c
+2 -1
View File
@@ -871,7 +871,8 @@ CFontzPacket_vbar (Driver *drvthis, int x, int y, int len, int promille, int opt
for (i = 1; i < p->cellheight; i++) {
// add pixel line per pixel line ...
vBar[p->cellheight - i] = 0xFF;
// NOTE: cellwidth != bar width: 0x1F = 0xFF & ((1 << (p->cellwidth - 1)) - 1)
vBar[p->cellheight - i] = 0x1F;
CFontzPacket_set_char(drvthis, i, vBar);
}
}