From 9a0ae50ce7f94996af26635f7e0b31e84350d8d1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 10 Mar 2010 03:56:08 -0500 Subject: When deriving, don't carry over the code or not --- src/draft.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/draft.cc') diff --git a/src/draft.cc b/src/draft.cc index 3dffa123..18075731 100644 --- a/src/draft.cc +++ b/src/draft.cc @@ -277,15 +277,15 @@ xact_t * draft_t::insert(journal_t& journal) if (matching) { added->payee = matching->payee; - added->code = matching->code; - added->note = matching->note; + //added->code = matching->code; + //added->note = matching->note; #if defined(DEBUG_ON) DEBUG("derive.xact", "Setting payee from match: " << added->payee); - if (added->code) - DEBUG("derive.xact", "Setting code from match: " << *added->code); - if (added->note) - DEBUG("derive.xact", "Setting note from match: " << *added->note); + //if (added->code) + // DEBUG("derive.xact", "Setting code from match: " << *added->code); + //if (added->note) + // DEBUG("derive.xact", "Setting note from match: " << *added->note); #endif } else { added->payee = tmpl->payee_mask.str(); -- cgit v1.2.3