aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2007-12-22 10:47:26 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2007-12-22 10:47:26 +0000
commitabe4e72137c1e6d6897f242fa91cba37271294eb (patch)
treea09a7f43ad04560a720ae3ecae7dc08741349ce3 /epan/proto.c
parent9f3a1c549cedcc67492ddb4c4db5c91a6af89911 (diff)
Describe text only field as "Text Item", shown in status bar.
Improve documentation headers. svn path=/trunk/; revision=23938
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 076df8924e..e04807e533 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -339,7 +339,7 @@ proto_init(void (register_all_protocols)(register_cb cb, gpointer client_data),
{
static hf_register_info hf[] = {
{ &hf_text_only,
- { "Proto Init", "", FT_NONE, BASE_NONE, NULL, 0x0,
+ { "Text item", "", FT_NONE, BASE_NONE, NULL, 0x0,
NULL, HFILL }},
};
@@ -2134,8 +2134,8 @@ proto_tree_add_string_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint
* IF you must use this function you MUST also disable the
* TRY_TO_FAKE_THIS_ITEM() optimization for your dissector/function
* using proto_item_append_string().
- * Do that by faking that the tree is visible by setting :
- * PTREE_DATA(tree)->visible=1; (see packet-wsp.c)
+ * Do that by faking that the tree is visible by calling
+ * proto_tree_set_visible(tree, TRUE) (see packet-wsp.c)
* BEFORE you create the item you are later going to use
* proto_item_append_string() on.
*/