e17/fm: fix last commit.

it's possible that ic_next could be NULL


SVN revision: 57260
This commit is contained in:
Hannes Janetzek 2011-02-23 10:37:17 +00:00
parent af23edc941
commit 0e59861be3
1 changed files with 1 additions and 1 deletions

View File

@ -9522,7 +9522,7 @@ _e_fm2_file_delete_yes_cb(void *data, E_Dialog *dialog)
{
EINA_LIST_FOREACH(sel, l, ici)
{
if (&(ic_next->info) == ici)
if (ic_next && (&(ic_next->info) == ici))
ic_next = NULL;
snprintf(buf, sizeof(buf), "%s/%s", ic->sd->realpath, ici->file);