summaryrefslogtreecommitdiff
path: root/src/units.cpp
diff options
context:
space:
mode:
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];