summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-24 01:27:54 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-24 01:27:54 -0500
commit68c3a9cfb7fe9f7a6299f8a81dfefa77363d8e19 (patch)
tree6fa4d403794340c508ba16fd217ba52690608741 /src/item.cc
parent5ff2b88690a3aa36a6bdd804ef3e0cf4422e6f23 (diff)
downloadfork-ledger-68c3a9cfb7fe9f7a6299f8a81dfefa77363d8e19.tar.gz
fork-ledger-68c3a9cfb7fe9f7a6299f8a81dfefa77363d8e19.tar.bz2
fork-ledger-68c3a9cfb7fe9f7a6299f8a81dfefa77363d8e19.zip
Whitespace fix
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc6
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';