diff options
Diffstat (limited to 'src/guichan/font.cpp')
-rw-r--r-- | src/guichan/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/font.cpp b/src/guichan/font.cpp index bb8006b95..57d51bfff 100644 --- a/src/guichan/font.cpp +++ b/src/guichan/font.cpp @@ -54,7 +54,7 @@ namespace gcn { - int Font::getStringIndexAt(const std::string& text, int x) const + int Font::getStringIndexAt(const std::string& text, const int x) const { for (unsigned int i = 0, sz = static_cast<unsigned int>(text.size()); i < sz; ++i) |