diff options
Diffstat (limited to 'src/guichan/defaultfont.cpp')
-rw-r--r-- | src/guichan/defaultfont.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/guichan/defaultfont.cpp b/src/guichan/defaultfont.cpp index 70901bc8e..feeb91001 100644 --- a/src/guichan/defaultfont.cpp +++ b/src/guichan/defaultfont.cpp @@ -78,9 +78,7 @@ namespace gcn void DefaultFont::drawString(Graphics* graphics, const std::string& text, int x, int y) { - unsigned int i; - - for (i = 0; i< text.size(); ++i) + for (unsigned int i = 0; i< text.size(); ++i) { drawGlyph(graphics, text.at(i), x, y); x += getWidth(text); |