aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-13 14:56:53 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-13 14:56:53 +0000
commit8f0efbf740d0a4e21f1a73a0b284c1e5af0718ba (patch)
treedfa995fbadbfbdeaaa64ddfa3a70bab4100905b6 /src
parentededae7ee573a6963f9f388b733cc4208a3e8a23 (diff)
downloadenlightenment-8f0efbf740d0a4e21f1a73a0b284c1e5af0718ba.tar.gz
enlightenment-8f0efbf740d0a4e21f1a73a0b284c1e5af0718ba.tar.xz
enlightenment-8f0efbf740d0a4e21f1a73a0b284c1e5af0718ba.zip
fix possible crash in shot module
SVN revision: 80875
Diffstat (limited to 'src')
-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;