summaryrefslogtreecommitdiff
path: root/src/print.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.cc')
-rw-r--r--src/print.cc8
1 files changed, 4 insertions, 4 deletions
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<int>(account_width) -
static_cast<int>(name.length()));