diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-05-01 15:15:08 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-05-01 15:15:08 +0000 |
commit | d9118dc089e7d842bc5c288238e1b100c799fb63 (patch) | |
tree | 9a1acdf9d2c216571cbfd181a679af12cab5d99d /print.c | |
parent | 4cf12f590ec0c5ffca4f6af9ffb99c59ec52a005 (diff) | |
download | wireshark-d9118dc089e7d842bc5c288238e1b100c799fb63.tar.gz wireshark-d9118dc089e7d842bc5c288238e1b100c799fb63.tar.bz2 wireshark-d9118dc089e7d842bc5c288238e1b100c799fb63.zip |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); } |