Bugfix: read_journal() keeps reading beyonf EOF.
[account.git] / account.h
index 614977a..cebb5ff 100644 (file)
--- a/account.h
+++ b/account.h
@@ -11,8 +11,6 @@
 // Operations include input and output, conversion to or from a String
 // and test for equality.
 
-// added comment for git test
-
 class acc_nr
 {
    unsigned short group, nr;
@@ -301,6 +299,8 @@ public:
 
 class Ledger
 {
+   String  companyname;
+
    Account accs[200];
    int     nr_accs;
    int     idx;
@@ -309,6 +309,7 @@ public:
 
    Ledger()
    {
+      companyname = "";
       nr_accs = 0;
    }