summaryrefslogtreecommitdiff
path: root/src/units.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-02 21:19:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-02 21:19:28 +0300
commita3b2076ba0b398523c3e0428c2400184e83c4f62 (patch)
treeae13ed62556e9b7343b9330089fa3dad2a8b67d2 /src/units.cpp
parent6f23241ba9d7d908534dade0e03041486a970ddc (diff)
downloadmanaplus-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.cpp1
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];