Remove the trailing \r and trailing blanks from the description
[account.git] / account_main.cpp
index 84c1e8c..b21e129 100644 (file)
@@ -50,7 +50,7 @@ main(int argc, char *argv[])
          break;
 
       case 'V':
-         std::cout << "account version 1.3.4\n";
+         std::cout << "account version 1.4\n";
          exit(0);
          break;
 
@@ -109,6 +109,7 @@ void read_journal(char *journal_file)
 
    while (i)
    {
+      first_char = '\n';
       i.get(first_char);
       switch (first_char)
       {