Bugfix: read_journal() keeps reading beyonf EOF.
authorArjen Baart <arjen@andromeda.nl>
Fri, 14 Jan 2011 09:45:24 +0000 (10:45 +0100)
committerArjen Baart <arjen@andromeda.nl>
Fri, 14 Jan 2011 09:45:24 +0000 (10:45 +0100)
commitbb2e6a4c7f6b1db110324280cd2e8b0aa8084004
tree70f8d6a472423e6b33ab10a5fb8c9ebe2cebb554
parentd34a6a53febeeda936f0e56a93a80a86d2e9129b
Bugfix: read_journal() keeps reading beyonf EOF.

When a journal file finishes with a mutation and not with an empty
line, reading beyond end of file resulted in an endless loop.
Initializing first_char before reading from the input fixes this.
account_main.cpp