diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-12 17:33:03 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-12 17:33:03 +0000 |
commit | 8ddc257a4b422aee2a0e58362f31fbd32301f12f (patch) | |
tree | fb959be4432cd9d8eea9402de79890a7131e39f0 /src/util.cpp | |
parent | 982f4fd301435e56bb959267a8f69ff793b10e26 (diff) | |
parent | 448f6b3d9b6d598f6a3db7807934d10fe94d5a71 (diff) | |
download | bitcoin-8ddc257a4b422aee2a0e58362f31fbd32301f12f.tar.xz |
Merge branch '0.4.x' into 0.5.x
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index c70b9d9e6e..d496a44d2d 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -352,7 +352,7 @@ string FormatMoney(int64 n, bool fPlus) int64 remainder = n_abs%COIN; string str = strprintf("%"PRI64d".%08"PRI64d, quotient, remainder); - // Right-trim excess 0's before the decimal point: + // Right-trim excess zeros before the decimal point: int nTrim = 0; for (int i = str.size()-1; (str[i] == '0' && isdigit(str[i-2])); --i) ++nTrim; |