diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:19:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:19:28 +0300 |
commit | a3b2076ba0b398523c3e0428c2400184e83c4f62 (patch) | |
tree | ae13ed62556e9b7343b9330089fa3dad2a8b67d2 /src/units.cpp | |
parent | 6f23241ba9d7d908534dade0e03041486a970ddc (diff) | |
download | manaplus-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.gz manaplus-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.bz2 manaplus-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.xz manaplus-a3b2076ba0b398523c3e0428c2400184e83c4f62.zip |
Last fixes after Coverity checks.
Diffstat (limited to 'src/units.cpp')
-rw-r--r-- | src/units.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/units.cpp b/src/units.cpp index 4931f416b..73b05005c 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -234,6 +234,7 @@ static std::string formatUnit(const int value, const int type) } else { + ul.round = 0; for (unsigned int i = 0; i < ud.levels.size(); i++) { ul = ud.levels[i]; |