diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-01-14 20:27:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-01-14 20:27:34 +0000 |
commit | fd6f84b46dcad8664f180830b9951f72a255f41e (patch) | |
tree | 8a15744456a755d2caa005548a9828564b26f058 /gtk/ansi_map_stat.c | |
parent | 766b213ed682731b366a744093923539ef0f49db (diff) |
From Laurent Rabret: handle the cases where there's no capture file, or
there is but it has no packets.
svn path=/trunk/; revision=13041
Diffstat (limited to 'gtk/ansi_map_stat.c')
-rw-r--r-- | gtk/ansi_map_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ansi_map_stat.c b/gtk/ansi_map_stat.c index d54850dfd7..16bc2b76a6 100644 --- a/gtk/ansi_map_stat.c +++ b/gtk/ansi_map_stat.c @@ -137,7 +137,7 @@ ansi_map_stat_draw( int i, j; char *strp; - if (dlg.win != NULL) + if (dlg.win && tapdata) { i = 0; |