diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-22 19:50:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-22 22:33:52 +0300 |
commit | a8d90b8a84b5a21c53fb5d279dc983ae1e2c3217 (patch) | |
tree | f1e35affbe927a1e81fcfafe91747fe3c1e3f56d /src/guichan/defaultfont.cpp | |
parent | 3e75f388c21a7c9a00ef2ff802023be00431248a (diff) | |
download | manaverse-a8d90b8a84b5a21c53fb5d279dc983ae1e2c3217.tar.gz manaverse-a8d90b8a84b5a21c53fb5d279dc983ae1e2c3217.tar.bz2 manaverse-a8d90b8a84b5a21c53fb5d279dc983ae1e2c3217.tar.xz manaverse-a8d90b8a84b5a21c53fb5d279dc983ae1e2c3217.zip |
Fix code style.
Diffstat (limited to 'src/guichan/defaultfont.cpp')
-rw-r--r-- | src/guichan/defaultfont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/defaultfont.cpp b/src/guichan/defaultfont.cpp index 8871d51de..70901bc8e 100644 --- a/src/guichan/defaultfont.cpp +++ b/src/guichan/defaultfont.cpp @@ -89,7 +89,7 @@ namespace gcn int DefaultFont::getStringIndexAt(const std::string& text, int x) const { - if (x > (int)text.size() * 8) + if (x > static_cast<int>(text.size() * 8)) return text.size(); return x / 8; |