fix evrything shift+tab crash

fixes T1548
This commit is contained in:
Carsten Haitzler 2014-08-19 18:44:47 +09:00
parent 3d006676fb
commit 9251440867
1 changed files with 2 additions and 1 deletions

View File

@ -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, ' ');