aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-08-01 10:56:47 -0700
committerJeff Garzik <[email protected]>2012-08-01 10:56:47 -0700
commitf81e6f779b66e235afd6c5241306d5e70ec41276 (patch)
tree208e1d5fb7b77c41e67edb372e2590250c32faac /src/util.cpp
parentMerge pull request #1636 from Diapolo/Warning_string (diff)
parentBugfix: Correct English grammar regarding "'s" (diff)
downloaddiscoin-f81e6f779b66e235afd6c5241306d5e70ec41276.tar.xz
discoin-f81e6f779b66e235afd6c5241306d5e70ec41276.zip
Merge pull request #1632 from luke-jr/spelling
Fix spelling and grammar errors
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 6014081c6..c9654989a 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -348,7 +348,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;