aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-09-08 09:50:08 +0000
committerGuy Harris <guy@alum.mit.edu>2000-09-08 09:50:08 +0000
commitb85ddbe885e93db37c6f64a6c170c314861780e2 (patch)
treeb093d842aa25ffaa82eca2008cb9d14becc7d95e /file.c
parent0653c5b18bce4d9fc3c7cd2eddc84c2cd666247b (diff)
Graham Bloice's patch to support inverse video rather than boldface
highlighting of the bytes, in the hex dump window, corresponding to a selected field. Also, make "remember_ptree_widget()" static, as it's not used outside "gtk/proto_draw.c". svn path=/trunk/; revision=2399
Diffstat (limited to 'file.c')
-rw-r--r--file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/file.c b/file.c
index 32895d7a52..ff03a4c6c9 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.213 2000/09/07 05:33:49 gram Exp $
+ * $Id: file.c,v 1.214 2000/09/08 09:49:17 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1557,7 +1557,8 @@ select_packet(capture_file *cf, int row)
clear_tree_and_hex_views();
proto_tree_draw(cf->protocol_tree, tree_view);
packet_hex_print(GTK_TEXT(byte_view), cf->pd, cf->current_frame->cap_len,
- -1, -1, cf->current_frame->flags.encoding);
+ -1, -1, cf->current_frame->flags.encoding,
+ prefs.gui_hex_dump_highlight_style);
/* A packet is selected. */
set_menus_for_selected_packet(TRUE);