summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/textual.cc b/src/textual.cc
index bc221671..a804fb1c 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1172,8 +1172,9 @@ xact_t * instance_t::parse_xact(char * line,
// Parse the description text
if (next && *next) {
+ char * p = next_element(next, true);
xact->payee = next;
- next = next_element(next, true);
+ next = p;
} else {
xact->payee = _("<Unspecified payee>");
}
@@ -1181,7 +1182,7 @@ xact_t * instance_t::parse_xact(char * line,
// Parse the xact note
if (next && *next == ';')
- xact->append_note(next, current_year);
+ xact->append_note(++next, current_year);
TRACE_STOP(xact_text, 1);