From 52fc9f2e4499e75d17e7f12d32a8391054d8634a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 20 Jul 2008 05:03:54 -0400 Subject: Brought in the final round of 3.0 code, although it does not compile yet: report, session, parts of xpath, main, journal, option. --- csv.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'csv.cc') diff --git a/csv.cc b/csv.cc index 6a94ec4b..d3c3faf7 100644 --- a/csv.cc +++ b/csv.cc @@ -87,7 +87,8 @@ void format_csv_transactions::operator()(transaction_t& xact) } out << ','; - write_escaped_string(out, xact.entry->code); + if (xact.entry->code) + write_escaped_string(out, *xact.entry->code); out << ','; { -- cgit v1.2.3