Whitespace fix
This commit is contained in:
parent
5ff2b88690
commit
68c3a9cfb7
1 changed files with 4 additions and 2 deletions
|
|
@ -115,7 +115,8 @@ void item_t::set_tag(const string& tag,
|
||||||
assert(result.second);
|
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 (const char * b = std::strchr(p, '[')) {
|
||||||
if (*(b + 1) != '\0' &&
|
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) {
|
if (note) {
|
||||||
*note += '\n';
|
*note += '\n';
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue