Bug fixes in Ledger::read()
[account.git] / account.cpp
index 39e9031..1ccb4f8 100644 (file)
@@ -601,6 +601,7 @@ void Ledger::read(char *filename)
    nr_accs = 0;
    while (in)
    {
+      line_begin = '\n';
       in.get(line_begin);
       if (isdigit(line_begin))
       {