Inline col_has_time_fmt() into col_based_on_frame_data()

svn path=/trunk/; revision=29739
This commit is contained in:
Kovarththanan Rajaratnam 2009-09-06 10:03:06 +00:00
parent 8edec9be91
commit 09237c27f9
1 changed files with 6 additions and 3 deletions

View File

@ -1421,12 +1421,15 @@ set_circuit_id(packet_info *pinfo)
gboolean
col_based_on_frame_data(column_info *cinfo, gint col)
{
if (col_has_time_fmt(cinfo, col))
return TRUE;
switch (cinfo->col_fmt[col]) {
case COL_NUMBER:
case COL_CLS_TIME:
case COL_ABS_TIME:
case COL_ABS_DATE_TIME:
case COL_REL_TIME:
case COL_DELTA_TIME:
case COL_DELTA_TIME_DIS:
case COL_PACKET_LENGTH:
case COL_CUMULATIVE_BYTES:
return TRUE;