summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/textual.cc b/textual.cc
index de4d32e4..1eb3ea9b 100644
--- a/textual.cc
+++ b/textual.cc
@@ -329,16 +329,7 @@ entry_t * parse_entry(std::istream& in, char * line, account_t * master,
// Parse the description text
- if (next) {
- char * first = next_element(next, true);
- curr->payee = next;
-
- if (first)
- if (transaction_t * xact = parse_transaction(first, master))
- curr->add_transaction(xact);
- } else {
- curr->payee = "<Unspecified payee>";
- }
+ curr->payee = next ? next : "<Unspecified payee>";
TIMER_STOP(entry_details);