path: root/epan/prefs.h
diff options
authorMichael Mann <mmann78@netscape.net>2015-01-04 11:17:53 -0500
committerMichael Mann <mmann78@netscape.net>2015-01-10 19:57:27 +0000
commiteffc8266ce2a87c5987018511f9bb2f61c34ba57 (patch)
treeb84aa6144af5f745bd264b9056b1c952b6c0a391 /epan/prefs.h
parent02fb2908ff7884c5329db285d15d2efaa691a92e (diff)
Add preference to display spaces between bytes for FT_BYTES fields.
I think this can make fields more readable (for a small amount of bytes). Converted DeviceNet dissector to use proto_tree_add_item for some FT_BYTES field as tvb_bytes_to_str_punct was used to create this effect "manually". Change-Id: I59e2acf9b00a4eb1279e6c2b2b7bd8ecef20db9b Reviewed-on: https://code.wireshark.org/review/6304 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/prefs.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index c45a2a098e..8e77a782c2 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -203,6 +203,7 @@ typedef struct _e_prefs {
guint rtp_player_max_visible;
guint tap_update_interval;
gboolean display_hidden_proto_items;
+ gboolean display_byte_fields_with_spaces;
gpointer filter_expressions;/* Actually points to &head */
gboolean gui_update_enabled;
software_update_channel_e gui_update_channel;