From bea90a2b985694acb8554f50136fa5afc7fdba12 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 Jun 2010 14:28:07 -0400 Subject: Fixed the "generate" command --- src/print.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/print.cc') diff --git a/src/print.cc b/src/print.cc index 84aa441f..2795c7ad 100644 --- a/src/print.cc +++ b/src/print.cc @@ -119,9 +119,9 @@ namespace { } foreach (post_t * post, xact.posts) { - if (post->has_flags(ITEM_TEMP | ITEM_GENERATED) && - ! post->has_flags(POST_ANONYMIZED) && - ! report.HANDLED(print_virtual)) + if (! report.HANDLED(generated) && + (post->has_flags(ITEM_TEMP | ITEM_GENERATED) && + ! post->has_flags(POST_ANONYMIZED))) continue; out << " "; @@ -157,7 +157,7 @@ namespace { if (account_width < name.length()) account_width = name.length(); - if (! post->has_flags(POST_CALCULATED) || report.HANDLED(print_virtual)) { + if (! post->has_flags(POST_CALCULATED) || report.HANDLED(generated)) { out << name.extract(); int slip = (static_cast(account_width) - static_cast(name.length())); -- cgit v1.2.3