From 298a4faef371cae8f308c0b729a1a34ea7aa927c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 16 Jun 2009 16:57:10 +0100 Subject: Move amount colorization deeper into the core This is necessary in order to redden negative amounts correctly under all circumstances, such as component amounts of a multi-commodity balance. Fixes 727B2DF8-A2A1-4716-9C15-547F20D5F933 --- src/balance.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/balance.h') diff --git a/src/balance.h b/src/balance.h index 85c6b1ff..142621f8 100644 --- a/src/balance.h +++ b/src/balance.h @@ -483,7 +483,8 @@ public: void print(std::ostream& out, const int first_width = -1, const int latter_width = -1, - const bool right_justify = true) const; + const bool right_justify = true, + const bool colorize = true) const; /** * Debugging methods. There are two methods defined to help with -- cgit v1.2.3