summaryrefslogtreecommitdiff
path: root/plugins/artnet
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-05-05 17:19:51 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-05-05 17:19:51 +0000
commit57ebbbbb2c72ee51acee3c8d0300212217c460a4 (patch)
tree8200135e270767dd851ba71c42a911928335cbf5 /plugins/artnet
parente9a197ee94f77cb156681486a1c0a1edddd9acc0 (diff)
downloadwireshark-57ebbbbb2c72ee51acee3c8d0300212217c460a4.tar.gz
Dount use proto_tree_add_item_hidden().
svn path=/trunk/; revision=25233
Diffstat (limited to 'plugins/artnet')
-rw-r--r--plugins/artnet/packet-artnet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/artnet/packet-artnet.c b/plugins/artnet/packet-artnet.c
index 79c76fa053..c0eecb7e8a 100644
--- a/plugins/artnet/packet-artnet.c
+++ b/plugins/artnet/packet-artnet.c
@@ -755,6 +755,7 @@ static guint
dissect_artnet_output(tvbuff_t *tvb, guint offset, proto_tree *tree)
{
proto_tree *hi,*si;
+ proto_item *item;
guint16 length,r,c,row_count;
guint8 v;
static char string[255];
@@ -823,8 +824,9 @@ dissect_artnet_output(tvbuff_t *tvb, guint offset, proto_tree *tree)
}
/* Add the real type hidden */
- proto_tree_add_item_hidden(si, hf_artnet_output_data_filter, tvb,
+ item = proto_tree_add_item(si, hf_artnet_output_data_filter, tvb,
offset, length, FALSE );
+ PROTO_ITEM_SET_HIDDEN(item);
offset += length;
return offset;