summaryrefslogtreecommitdiff
path: root/ui/gtk/compare_stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-09-28 01:01:45 -0700
committerGuy Harris <guy@alum.mit.edu>2014-09-28 08:02:26 +0000
commite9c4217dca91e3a403af9b16a317dba2e8a20559 (patch)
tree49e3b8e9225ee179c36e24acc3ef266b69b2cc3e /ui/gtk/compare_stat.c
parentf0b5fb7a0445831af14c0e6cba4b29eae7032c2e (diff)
downloadwireshark-e9c4217dca91e3a403af9b16a317dba2e8a20559.tar.gz
Don't change the packet list column precision in taps.
The only place where the packet list column precision should be set is in the code for the column precision menu item, the code for the recent file item for that precision, and, if we were to provide it, code for a command-line optpion to set it. It's not up to some tap to change it. Change-Id: I547e606fb346b4c21674a66e883cbbe382055a37 Reviewed-on: https://code.wireshark.org/review/4336 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk/compare_stat.c')
-rw-r--r--ui/gtk/compare_stat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/gtk/compare_stat.c b/ui/gtk/compare_stat.c
index f1532810c3..85248ad60c 100644
--- a/ui/gtk/compare_stat.c
+++ b/ui/gtk/compare_stat.c
@@ -579,8 +579,6 @@ comparestat_draw(void *arg)
second_file_amount=cs->second_file_amount;
/* reset after numbering */
g_hash_table_remove_all(cs->nr_set);
- /* microsecond precision for Info column*/
- timestamp_set_precision(TS_PREC_AUTO_NSEC);
/* reset ordering */
nstime_set_unset(&cs->current_time);
@@ -734,8 +732,6 @@ gtk_comparestat_init(const char *opt_arg, void* userdata _U_)
cs->zebra_time.secs=0;
cs->zebra_time.nsecs=1;
cs->nr_set=g_hash_table_new(NULL, NULL);
- /* microsecond precision */
- timestamp_set_precision(TS_PREC_AUTO_NSEC);
/* transient_for top_level */
cs->win=dlg_window_new("compare-stat");