From e113edc6663092c278f6b79dd62faedc71f53e5b Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Tue, 30 Dec 2014 11:43:00 +0000 Subject: [PATCH] util: Added a space between the value and prefix --- pv/util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pv/util.cpp b/pv/util.cpp index ff1b4848..2e54adea 100644 --- a/pv/util.cpp +++ b/pv/util.cpp @@ -61,8 +61,8 @@ QString format_si_value(double v, QString unit, int prefix, QTextStream ts(&s); if (sign) ts << forcesign; - ts << fixed << qSetRealNumberPrecision(precision) - << (v * multiplier) << SIPrefixes[prefix] << unit; + ts << fixed << qSetRealNumberPrecision(precision) << + (v * multiplier) << " " << SIPrefixes[prefix] << unit; return s; } -- 2.30.2