aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modules/shot/e_mod_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c
index 126b3151a..084125226 100644
--- a/src/modules/shot/e_mod_main.c
+++ b/src/modules/shot/e_mod_main.c
@@ -592,6 +592,7 @@ _shot_now(E_Zone *zone, E_Border *bd)
Ecore_X_Display *display;
Ecore_X_Screen *scr;
+ if ((!zone) && (!bd)) return;
if (zone)
{
sman = zone->container->manager;