efm - dont add null icons to list ... fixes segv

as per title. dont store null icons in the list - not intended to be
that way.

@fix
devs/bu5hm4n/bugfixing
Carsten Haitzler 5 years ago
parent da02b865f9
commit 20130aec91
  1. 2
      src/bin/e_fm.c

@ -4561,7 +4561,7 @@ _e_fm2_uri_selected_icon_list_get(Eina_List *uri)
if (eina_list_data_find(ic->sd->selected_icons, ic)) break;
ic = NULL;
}
icons = eina_list_append(icons, ic);
if (ic) icons = eina_list_append(icons, ic);
}
return icons;
}

Loading…
Cancel
Save