diff options
author | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-18 19:04:33 +0000 |
---|---|---|
committer | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-18 19:04:33 +0000 |
commit | c113a50c6b9548167740cdfce35eac35ec467002 (patch) | |
tree | 876959ab8c53334deb5cb8a35e7b7b596cf24152 /column.c | |
parent | b52c3d1094816e70f7a3227ac859c14c127ce3e9 (diff) |
From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.
This is a move towards a real libethereal shared library.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10402 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'column.c')
-rw-r--r-- | column.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* column.c * Routines for handling column preferences * - * $Id: column.c,v 1.46 2004/01/31 04:10:04 guy Exp $ + * $Id: column.c,v 1.47 2004/03/18 19:04:30 obiot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -212,9 +212,9 @@ get_column_longest_string(gint format) return "0000000"; break; case COL_CLS_TIME: - if (timestamp_type == TS_ABSOLUTE) + if (get_timestamp_setting() == TS_ABSOLUTE) return "00:00:00.000000"; - else if (timestamp_type == TS_ABSOLUTE_WITH_DATE) + else if (get_timestamp_setting() == TS_ABSOLUTE_WITH_DATE) return "0000-00-00 00:00:00.000000"; else return "0000.000000"; |