diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-25 00:05:22 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-25 00:05:22 -0500 |
commit | 98ea23cd59cf959f3561632cc38043ab2d89f164 (patch) | |
tree | 18157b0191c83dcec9042c5ebfb4a70e48893169 /src/item.cc | |
parent | f01fa1a5131c287a4efe2708ffe3c9bc57b79468 (diff) | |
parent | f81b563339598a6075fa5c9ec6cb61bbffc9ba38 (diff) | |
download | fork-ledger-98ea23cd59cf959f3561632cc38043ab2d89f164.tar.gz fork-ledger-98ea23cd59cf959f3561632cc38043ab2d89f164.tar.bz2 fork-ledger-98ea23cd59cf959f3561632cc38043ab2d89f164.zip |
Merge branch 'next'
Diffstat (limited to 'src/item.cc')
-rw-r--r-- | src/item.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/item.cc b/src/item.cc index da6429ed..99d1d835 100644 --- a/src/item.cc +++ b/src/item.cc @@ -115,7 +115,8 @@ void item_t::set_tag(const string& tag, assert(result.second); } -void item_t::parse_tags(const char * p, optional<date_t::year_type> current_year) +void item_t::parse_tags(const char * p, + optional<date_t::year_type> current_year) { if (const char * b = std::strchr(p, '[')) { if (*(b + 1) != '\0' && @@ -164,7 +165,8 @@ void item_t::parse_tags(const char * p, optional<date_t::year_type> current_year } } -void item_t::append_note(const char * p, optional<date_t::year_type> current_year) +void item_t::append_note(const char * p, + optional<date_t::year_type> current_year) { if (note) { *note += '\n'; |