File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -815,7 +815,9 @@ void writeToFile() {
815815 file << entry.sourceAccChild << " ," ;
816816 file << entry.notes << " ," ;
817817 file << entry.label << " ," ;
818- file << entry.status ;
818+ if (entry.status != ' \0 ' ){
819+ file << entry.status ;
820+ }
819821 file << endl;
820822 // Destination Account
821823 file << " Transfer" << " ," ;
@@ -834,7 +836,9 @@ void writeToFile() {
834836 file << entry.destAccChild << " ," ;
835837 file << entry.notes << " ," ;
836838 file << entry.label << " ," ;
837- file << entry.status ;
839+ if (entry.status != ' \0 ' ){
840+ file << entry.status ;
841+ }
838842 file << endl;
839843
840844 } else { // For normal use cases.
@@ -855,7 +859,9 @@ void writeToFile() {
855859 file << entry.accChild << " ," ;
856860 file << entry.notes << " ," ;
857861 file << entry.label << " ," ;
858- file << entry.status ;
862+ if (entry.status != ' \0 ' ){
863+ file << entry.status ;
864+ }
859865 file << endl;
860866
861867 }
You can’t perform that action at this time.
0 commit comments