Make sure bi is set before trying to use it or else Seggy. Thanks iSteve :)

SVN revision: 25276
This commit is contained in:
Christopher Michael 2006-09-01 10:40:54 +00:00
parent 2c403e3e62
commit 6b749086ef
1 changed files with 1 additions and 0 deletions

View File

@ -3868,6 +3868,7 @@ _e_gadcon_layout_smart_containers_position_adjust(E_Smart_Data *sd, E_Layout_Ite
for (l = lc->items; l; l = l->next)
{
bi = l->data;
if (bi->gcc->state_info.flags & E_GADCON_LAYOUT_ITEM_LOCK_POSITION)
{
if (sd->horizontal) shift = bi->ask.pos - bi->x;