diff options
author | Guy Harris <guy@alum.mit.edu> | 1998-12-16 09:05:51 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1998-12-16 09:05:51 +0000 |
commit | f5e3259b0a1ef70517093cd93e25a7d5b0cd1563 (patch) | |
tree | 9bb8d3cda09666e123392794a517c7e7467a6597 /column.c | |
parent | dfceeaeb7c414e22c6037b8619b112b94ab202b6 (diff) |
Note that wiring the current longest string in a column into
"get_column_width()" is somewhat fragile, and suggest a possible
alternative.
svn path=/trunk/; revision=126
Diffstat (limited to 'column.c')
-rw-r--r-- | column.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* column.c * Routines for handling column preferences * - * $Id: column.c,v 1.3 1998/11/18 03:01:26 gerald Exp $ + * $Id: column.c,v 1.4 1998/12/16 09:05:51 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -163,6 +163,10 @@ get_column_format_matches(gboolean *fmt_list, gint format) { } /* Returns the longest possible width for a particular column type */ +/* XXX - this is somewhat fragile; we should probably generate */ +/* the summary lines for all the packets first, and compute the */ +/* maximum column width as the maximum string width of all the */ +/* values in that column. */ gint get_column_width(gint format, GdkFont *font) { switch (format) { |