diff options
Diffstat (limited to 'glcdgraphics/bitmap.c')
-rw-r--r-- | glcdgraphics/bitmap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/glcdgraphics/bitmap.c b/glcdgraphics/bitmap.c index 9080ec4..46bcdb1 100644 --- a/glcdgraphics/bitmap.c +++ b/glcdgraphics/bitmap.c @@ -596,8 +596,6 @@ int cBitmap::DrawText(int x, int y, int xmax, const std::string & text, const cF start = text.length(); else { - unsigned int tmp = start; - cFont::EncodedCharAdjustCounter(font->IsUTF8(), text, c, tmp); while (skipPixels > font->SpaceBetween() + font->Width(text.substr(start), 1 /*text[start]*/)) { cFont::EncodedCharAdjustCounter(font->IsUTF8(), text, c, start); |