aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-05-01 15:15:08 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-05-01 15:15:08 +0000
commitd9118dc089e7d842bc5c288238e1b100c799fb63 (patch)
tree9a1acdf9d2c216571cbfd181a679af12cab5d99d /print.c
parent4cf12f590ec0c5ffca4f6af9ffb99c59ec52a005 (diff)
add PROTO_ITEM_SET_HIDDEN() and PROTO_ITEM_SET_GENERATED(),
this sets flags for later rendering of the field data svn path=/trunk/; revision=10752
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");
}