fix maskpos (I think... needs testing)

svn-id: r12229
This commit is contained in:
Max Horn 2004-01-08 01:43:32 +00:00
parent 467861917d
commit a655527949

View file

@ -327,7 +327,7 @@ void NutRenderer::drawChar(byte *dst, byte *mask, byte c, int x, int y, byte col
for (int ty = minY; ty < height; ty++) {
maskmask = revBitMask[(x + minX) & 7];
maskpos = minX;
maskpos = (x%8 + minX) / 8;
for (int tx = minX; tx < width; tx++) {
if (src[tx] != 0) {
dst[tx] = color;