aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinunits.cpp
diff options
context:
space:
mode:
author21E14 <21xe14@gmail.com>2014-11-28 00:13:44 -0500
committer21E14 <21xe14@gmail.com>2014-11-28 10:34:25 -0500
commit1cf23f6c504788525bf2b18b8fc6bebf7cdd7b24 (patch)
tree61420343ad4076e4357439eee9785fe9a31afeb6 /src/qt/bitcoinunits.cpp
parent9ff0bc9beb90cf96fb0a9698de22e2bc60fed2f2 (diff)
Update the intent on SI-style separators.
Diffstat (limited to 'src/qt/bitcoinunits.cpp')
-rw-r--r--src/qt/bitcoinunits.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qt/bitcoinunits.cpp b/src/qt/bitcoinunits.cpp
index c85f569fd3..75e1f9ae78 100644
--- a/src/qt/bitcoinunits.cpp
+++ b/src/qt/bitcoinunits.cpp
@@ -106,10 +106,8 @@ QString BitcoinUnits::format(int unit, const CAmount& nIn, bool fPlus, Separator
QString quotient_str = QString::number(quotient);
QString remainder_str = QString::number(remainder).rightJustified(num_decimals, '0');
- // Use SI-stule separators as these are locale indendent and can't be
- // confused with the decimal marker. Rule is to use a thin space every
- // three digits on *both* sides of the decimal point - but only if there
- // are five or more digits
+ // Use SI-style thin space separators as these are locale independent and can't be
+ // confused with the decimal marker.
QChar thin_sp(THIN_SP_CP);
int q_size = quotient_str.size();
if (separators == separatorAlways || (separators == separatorStandard && q_size > 4))