summaryrefslogtreecommitdiff
path: root/src/format.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
commit2d941730b1c60342be5b108d2d654723b3b7c2cb (patch)
tree6a3f4b7305857e85d2684670492007bafc3668d0 /src/format.h
parent73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe (diff)
downloadfork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.gz
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.bz2
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.zip
Largely removed all of Ledger's use of global variables, for the REPL's sake.
Diffstat (limited to 'src/format.h')
-rw-r--r--src/format.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/format.h b/src/format.h
index 439cb70b..66c226b2 100644
--- a/src/format.h
+++ b/src/format.h
@@ -169,13 +169,6 @@ public:
};
private:
- // jww (2008-08-02): Should these four be here, or in session_t?
- static elision_style_t elision_style;
- static int abbrev_length;
-
- static bool ansi_codes;
- static bool ansi_invert;
-
static element_t * parse_elements(const string& fmt);
friend class report_t;
@@ -207,7 +200,7 @@ public:
}
static string truncate(const unistring& str, std::size_t width,
- const bool is_account = false);
+ const int account_abbrev_length = -1);
};
} // namespace ledger