From f4ad6f2ac001aa66a69b48734a6d2ca8beb3a295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Tue, 11 Dec 2007 18:39:34 +0000 Subject: [PATCH] From Marton Nemeth: - The "showHex" name cannot be the name paramter. Changing it to "show_hex" should be fine. - There is also a missing ';' at the end of a line in the example. This fixes bug 2092. svn path=/trunk/; revision=23840 --- doc/README.developer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.developer b/doc/README.developer index 5f6b8c805c..59bdd62f2c 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -861,7 +861,7 @@ dissect_PROTOABBREV(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* add an item to the subtree, see section 1.6 for more information */ proto_tree_add_item(PROTOABBREV_tree, - hf_PROTOABBREV_FIELDABBREV, tvb, offset, len, FALSE) + hf_PROTOABBREV_FIELDABBREV, tvb, offset, len, FALSE); /* Continue adding tree items to process the packet here */ @@ -914,7 +914,7 @@ proto_register_PROTOABBREV(void) proto_reg_handoff_PROTOABBREV); /* Register a sample preference */ - prefs_register_bool_preference(PROTOABBREV_module, "showHex", + prefs_register_bool_preference(PROTOABBREV_module, "show_hex", "Display numbers in Hex", "Enable to display numerical values in hexadecimal.", &gPREF_HEX);