diff options
author | John Wiegley <johnw@newartisans.com> | 2006-02-16 21:30:09 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:24 -0400 |
commit | 6e5bdb9b4826b8669e00f10095a0e9d9713b9695 (patch) | |
tree | 3b6592df5159bd125c62e2bf343bbb01fc68a4ed /format.cc | |
parent | f43370cae5d9297487fedeefa427d42ab869df48 (diff) | |
download | fork-ledger-6e5bdb9b4826b8669e00f10095a0e9d9713b9695.tar.gz fork-ledger-6e5bdb9b4826b8669e00f10095a0e9d9713b9695.tar.bz2 fork-ledger-6e5bdb9b4826b8669e00f10095a0e9d9713b9695.zip |
Added a check for null.
Diffstat (limited to 'format.cc')
-rw-r--r-- | format.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -637,7 +637,7 @@ void format_transactions::operator()(transaction_t& xact) first_line_format.format(output_stream, details_t(xact)); last_entry = xact.entry; } - else if (last_xact->date() != xact.date()) { + else if (last_xact && last_xact->date() != xact.date()) { first_line_format.format(output_stream, details_t(xact)); } else { |