summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-12 02:34:39 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-12 02:34:39 -0400
commit6f2e3b88649543d625b76ac5542dd8838b28f0b1 (patch)
treeaf76d46718d4b2b3e51c05c3c53a09987505f02f /src/amount.h
parent9c9320bc586bc80922921945bfe6bb704c36c624 (diff)
downloadfork-ledger-6f2e3b88649543d625b76ac5542dd8838b28f0b1.tar.gz
fork-ledger-6f2e3b88649543d625b76ac5542dd8838b28f0b1.tar.bz2
fork-ledger-6f2e3b88649543d625b76ac5542dd8838b28f0b1.zip
Properly handle UTF-8 characters in commodity strings.
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amount.h b/src/amount.h
index 0943a4c0..a9077a4b 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -640,6 +640,7 @@ public:
of its commodity's display precision.
*/
void print(std::ostream& out) const;
+ void right_justify(std::ostream& out, int width) const;
/*@}*/