From 6b749086ef822415a4bd3774cb8231be158dbdf2 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Fri, 1 Sep 2006 10:40:54 +0000 Subject: [PATCH] Make sure bi is set before trying to use it or else Seggy. Thanks iSteve :) SVN revision: 25276 --- src/bin/e_gadcon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c index 64c80eb31..e9ae4df7c 100644 --- a/src/bin/e_gadcon.c +++ b/src/bin/e_gadcon.c @@ -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;