diff options
Diffstat (limited to 'glcdgraphics/bitmap.c')
-rw-r--r-- | glcdgraphics/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glcdgraphics/bitmap.c b/glcdgraphics/bitmap.c index 464f189..0c4fd5d 100644 --- a/glcdgraphics/bitmap.c +++ b/glcdgraphics/bitmap.c @@ -680,7 +680,7 @@ int cBitmap::DrawCharacter(int x, int y, int xmax, uint32_t c, const cFont * fon if ( x + drawWidth-1 > xmax) drawWidth = xmax - x + 1; - drawBitmap = new cBitmap(charBitmap->Width()-skipPixels,charBitmap->Height()); + drawBitmap = new cBitmap(drawWidth /*charBitmap->Width()-skipPixels*/,charBitmap->Height()); drawBitmap->Clear(bgcolor); if (drawBitmap) { |