SVN revision: 48787
This commit is contained in:
Hannes Janetzek 2010-05-12 19:58:40 +00:00
parent f3a7f7d996
commit d713846aff
1 changed files with 7 additions and 4 deletions

View File

@ -250,6 +250,9 @@ _plugin_next_by_name(Tab_View *v, const char *key)
EINA_LIST_FOREACH(s->cur_plugins, l, p)
{
/* FIXME how can this happen ? */
if (!p) continue;
if (EVRY_ITEM(p)->label && (!strncasecmp(EVRY_ITEM(p)->label, key, 1)))
{
if (!first) first = p;