aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-03-18 00:11:52 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-03-18 00:11:52 +0000
commitd01a2ac0727ec6a9825e40a01ee77a216d488b72 (patch)
tree8d69fdb45aedbe3c411bbaf53454bbd8b15b2c77 /file.c
parent3b4c2011cb8fef1252b3ff10144fe5537000a7d3 (diff)
downloadwireshark-d01a2ac0727ec6a9825e40a01ee77a216d488b72.tar.gz
wireshark-d01a2ac0727ec6a9825e40a01ee77a216d488b72.tar.bz2
wireshark-d01a2ac0727ec6a9825e40a01ee77a216d488b72.zip
Bah, committed the wrong file.
Second try on allow custom columns when printing. svn path=/trunk/; revision=24682
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index a7aba46a2f..389cccea63 100644
--- a/file.c
+++ b/file.c
@@ -1929,8 +1929,8 @@ print_packet(capture_file *cf, frame_data *fdata,
the dissection or the hex data.
XXX - do we need it if we're just printing the hex data? */
proto_tree_needed =
- args->print_args->print_dissections != print_dissections_none || args->print_args->print_hex;
- edt = epan_dissect_new(proto_tree_needed || have_custom_cols(&cf->cinfo), proto_tree_needed);
+ args->print_args->print_dissections != print_dissections_none || args->print_args->print_hex || have_custom_cols(&cf->cinfo);
+ edt = epan_dissect_new(proto_tree_needed, proto_tree_needed);
/* Fill in the column information if we're printing the summary
information. */