diff options
Diffstat (limited to 'src/format.h')
-rw-r--r-- | src/format.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/format.h b/src/format.h index 13dd0876..03ed28c7 100644 --- a/src/format.h +++ b/src/format.h @@ -107,12 +107,14 @@ class format_t : public noncopyable scoped_ptr<element_t> elements; public: - enum elision_style_t { + static enum elision_style_t { TRUNCATE_TRAILING, TRUNCATE_MIDDLE, TRUNCATE_LEADING, ABBREVIATE - }; + } default_style; + + static bool default_style_changed; private: static element_t * parse_elements(const string& fmt); |