From 8637dd6ccf7afc71d911cd66c4a55a1308596dbb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 9 Jun 2010 06:45:07 -0400 Subject: New display flag AMOUNT_PRINT_ELIDE_COMMODITY_QUOTES This is used by reports like register and balance so that separated commodities without spaces in them needed be surrounded by quotes. It will still occur in most other places. Fixes #200 / F82CF11F-BFD9-4512-A562-202B04B68051 --- src/amount.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/amount.h') diff --git a/src/amount.h b/src/amount.h index 09c9dc49..be4c5e45 100644 --- a/src/amount.h +++ b/src/amount.h @@ -680,6 +680,7 @@ public: #define AMOUNT_PRINT_RIGHT_JUSTIFY 0x01 #define AMOUNT_PRINT_COLORIZE 0x02 #define AMOUNT_PRINT_NO_COMPUTED_ANNOTATIONS 0x04 +#define AMOUNT_PRINT_ELIDE_COMMODITY_QUOTES 0x08 void print(std::ostream& out, const uint_least8_t flags = AMOUNT_PRINT_NO_FLAGS) const; -- cgit v1.2.3