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/isup_stat.c | |
parent | 766b213ed682731b366a744093923539ef0f49db (diff) | |
download | wireshark-fd6f84b46dcad8664f180830b9951f72a255f41e.tar.gz wireshark-fd6f84b46dcad8664f180830b9951f72a255f41e.tar.bz2 wireshark-fd6f84b46dcad8664f180830b9951f72a255f41e.zip |
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/isup_stat.c')
-rw-r--r-- | gtk/isup_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/isup_stat.c b/gtk/isup_stat.c index beda73bc53..befac9102a 100644 --- a/gtk/isup_stat.c +++ b/gtk/isup_stat.c @@ -120,7 +120,7 @@ isup_stat_draw( int i, j; char *strp; - if (dlg.win != NULL) + if (dlg.win && tapdata) { i = 0; |