summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-22 03:14:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-22 04:51:11 -0400
commit04fd1ae24c3be6f9d3400c55bce90c3fd743e96b (patch)
tree25d1ad1adfd755b41ee1f24b3177a2d11219e714 /src/balance.h
parent640279c65d638d777852a291d674c342a9b8115e (diff)
downloadfork-ledger-04fd1ae24c3be6f9d3400c55bce90c3fd743e96b.tar.gz
fork-ledger-04fd1ae24c3be6f9d3400c55bce90c3fd743e96b.tar.bz2
fork-ledger-04fd1ae24c3be6f9d3400c55bce90c3fd743e96b.zip
Fixed the way values are justified for printing
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/balance.h b/src/balance.h
index 49435767..996132e6 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -469,8 +469,10 @@ public:
* relative amounts of those commodities. There is no option to
* change this behavior.
*/
- void print(std::ostream& out, const int first_width,
- const int latter_width = -1) const;
+ void print(std::ostream& out,
+ const int first_width = -1,
+ const int latter_width = -1,
+ const bool right_justify = true) const;
/**
* Debugging methods. There are two methods defined to help with