fix possible crash in shot module

SVN revision: 80875
This commit is contained in:
Mike Blumenkrantz 2012-12-13 14:56:53 +00:00
parent ededae7ee5
commit 8f0efbf740
1 changed files with 1 additions and 0 deletions

View File

@ -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;