fix segv in browse_item
authorHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 29 May 2010 11:17:15 +0000 (11:17 +0000)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 29 May 2010 11:17:15 +0000 (11:17 +0000)
SVN revision: 49288

src/modules/everything/evry.c

index 12e1518..3741fb2 100644 (file)
@@ -1721,7 +1721,7 @@ evry_browse_item(Evry_Item *it)
      {
        if ((p->browse) && (pp = p->browse(p, it)))
          {
-            if (!strcmp(pp->name, pref->name))
+            if (pref && !strcmp(pp->name, pref->name))
               continue;
             plugins = eina_list_append(plugins, pp);
          }