avoid null deref

SVN revision: 55710
This commit is contained in:
Mike Blumenkrantz 2010-12-22 22:53:30 +00:00
parent 7c64edbdd6
commit 7f55007159
1 changed files with 1 additions and 1 deletions

View File

@ -6634,7 +6634,7 @@ _e_border_eval(E_Border *bd)
bd->y = zy + zh - bd->h;
// <--
if (e_container_zone_at_point_get(bd->zone->container, bd->x, bd->y))
if (bd->zone && e_container_zone_at_point_get(bd->zone->container, bd->x, bd->y))
{
bd->changes.pos = 1;
bd->placed = 1;