diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-26 21:29:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-26 21:29:59 +0300 |
commit | a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (patch) | |
tree | 1b1e98a615e2c03641c99b66cb4667b56f7087c3 /src/guichan/font.cpp | |
parent | 012a10fd8153f3ddb775dde1e4dba4456f2aa9de (diff) | |
download | manaverse-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.gz manaverse-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.bz2 manaverse-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.xz manaverse-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.zip |
Add const to some classes.
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) |