aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/mtp3_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/mtp3_stat.c')
-rw-r--r--gtk/mtp3_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/mtp3_stat.c b/gtk/mtp3_stat.c
index c77c51d036..76b9206704 100644
--- a/gtk/mtp3_stat.c
+++ b/gtk/mtp3_stat.c
@@ -174,7 +174,7 @@ mtp3_stat_draw(
int i, j, row_offset;
char str[256];
- if (dlg.win == NULL)
+ if (!dlg.win || !tapdata)
{
return;
}