aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-01 15:15:08 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-01 15:15:08 +0000
commit9df313ade1fb8de5dd17ba49c577a7d571f61c7c (patch)
tree9a1acdf9d2c216571cbfd181a679af12cab5d99d /print.c
parentd1e353890bf31125607508651bcef1d01f244166 (diff)
add PROTO_ITEM_SET_HIDDEN() and PROTO_ITEM_SET_GENERATED(),
this sets flags for later rendering of the field data git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10752 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'print.c')
-rw-r--r--print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print.c b/print.c
index 02b723824e..b203040c91 100644
--- a/print.c
+++ b/print.c
@@ -1,7 +1,7 @@
/* print.c
* Routines for printing packet analysis trees.
*
- * $Id: print.c,v 1.80 2004/04/26 15:58:33 gram Exp $
+ * $Id: print.c,v 1.81 2004/05/01 15:15:08 ulfl Exp $
*
* Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -209,7 +209,7 @@ void proto_tree_print_node(proto_node *node, gpointer data)
gchar *label_ptr;
/* Don't print invisible entries. */
- if (!fi->visible)
+ if (PROTO_ITEM_IS_HIDDEN(node))
return;
/* was a free format label produced? */
@@ -389,7 +389,7 @@ proto_tree_print_node_pdml(proto_node *node, gpointer data)
print_escaped_xml(pdata->fh, label_ptr);
}
- if(!fi->visible) {
+ if(PROTO_ITEM_IS_HIDDEN(node)) {
fprintf(pdata->fh, "\" hide=\"yes");
}