raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=92514408672e865b1ca8a16c9ea53952ca266224

commit 92514408672e865b1ca8a16c9ea53952ca266224
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Aug 19 18:44:47 2014 +0900

    fix evrything shift+tab crash
    
    fixes T1548
---
 src/modules/everything/evry_plug_apps.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/everything/evry_plug_apps.c 
b/src/modules/everything/evry_plug_apps.c
index b37241e..4f3a6eb 100644
--- a/src/modules/everything/evry_plug_apps.c
+++ b/src/modules/everything/evry_plug_apps.c
@@ -811,8 +811,9 @@ _complete(Evry_Plugin *plugin __UNUSED__, const Evry_Item 
*it, char **input)
    GET_APP(app, it);
 
    char buf[128];
+   if (it->subtype != EVRY_TYPE_APP) return 0;
 
-   if (app->desktop)
+   if ((app->desktop) && (app->desktop->exec))
      {
         char *space = strchr(app->desktop->exec, ' ');
 

-- 


Reply via email to