aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ansi_map_stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-14 20:27:34 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-14 20:27:34 +0000
commitfd6f84b46dcad8664f180830b9951f72a255f41e (patch)
tree8a15744456a755d2caa005548a9828564b26f058 /gtk/ansi_map_stat.c
parent766b213ed682731b366a744093923539ef0f49db (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.c2
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;