diff options
Diffstat (limited to 'gtk/main.c')
-rw-r--r-- | gtk/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/main.c b/gtk/main.c index 7f1e6b88bd..32fecf4b0d 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1,6 +1,6 @@ /* main.c * - * $Id: main.c,v 1.253 2002/07/06 16:47:17 gerald Exp $ + * $Id: main.c,v 1.254 2002/07/07 21:52:51 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1401,7 +1401,6 @@ main(int argc, char *argv[]) cfile.has_snap = FALSE; cfile.snap = WTAP_MAX_PACKET_SIZE; cfile.count = 0; - col_init(&cfile.cinfo, prefs->num_cols); /* Assemble the compile-time options */ comp_info_str = g_string_new(""); @@ -1748,7 +1747,7 @@ main(int argc, char *argv[]) /* Notify all registered modules that have had any of their preferences changed either from one of the preferences file or from the command - line that its preferences have changed. */ + line that their preferences have changed. */ prefs_apply_all(); #ifndef HAVE_LIBPCAP @@ -1797,6 +1796,7 @@ main(int argc, char *argv[]) #endif /* Build the column format array */ + col_init(&cfile.cinfo, prefs->num_cols); for (i = 0; i < cfile.cinfo.num_cols; i++) { cfile.cinfo.col_fmt[i] = get_column_format(i); cfile.cinfo.col_title[i] = g_strdup(get_column_title(i)); |