aboutsummaryrefslogtreecommitdiffstats
path: root/column.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-06-19 01:47:43 +0000
committerGuy Harris <guy@alum.mit.edu>1999-06-19 01:47:43 +0000
commitfe725bec8cb78d9fbcb1fb9133b1c3ad65e0e400 (patch)
tree8546db05c76a039ea004809afc132b29fee38bf8 /column.c
parent88e94a01867460d7c9bb9fd124daf0e0ee118e7f (diff)
Update the column widths if we change the time stamp format from the
"Display/Options" dialog box. "get_column_width()" should check "timestamp_type" against ABSOLUTE, not against COL_ABS_TIME. Clean up the code to check the state of the time stamp radio buttons in the "Display/Options" dialog box. Check in "timestamp.h", which we failed to check in on the previous commit. svn path=/trunk/; revision=318
Diffstat (limited to 'column.c')
-rw-r--r--column.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/column.c b/column.c
index 6ed6b5d8a5..60b43cdce6 100644
--- a/column.c
+++ b/column.c
@@ -1,7 +1,7 @@
/* column.c
* Routines for handling column preferences
*
- * $Id: column.c,v 1.11 1999/06/19 01:14:49 guy Exp $
+ * $Id: column.c,v 1.12 1999/06/19 01:47:43 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -178,7 +178,7 @@ get_column_width(gint format, GdkFont *font) {
return (gdk_string_width(font, "0") * 7);
break;
case COL_CLS_TIME:
- if (timestamp_type == COL_ABS_TIME)
+ if (timestamp_type == ABSOLUTE)
return (gdk_string_width(font, "00:00:00.000000"));
else
return (gdk_string_width(font, "0000.000000"));