diff options
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -139,7 +139,8 @@ transaction_t * parse_transaction(char * line, account_t * account, while (! in.eof()) { in.get(p); if (in.eof() || (std::isspace(p) && - (p == '\t' || std::isspace(in.peek())))) + (p == '\t' || in.peek() == EOF || + std::isspace(in.peek())))) break; account_end++; } |