Check for cmd in uicb_launcher

This commit is contained in:
Martin Duquesnoy 2012-02-21 12:47:54 +01:00
parent 980832b474
commit 8728e81096

View File

@ -426,6 +426,9 @@ uicb_launcher(Uicb cmd)
{ {
struct launcher *l; struct launcher *l;
if(!cmd)
return;
SLIST_FOREACH(l, &W->h.launcher, next) SLIST_FOREACH(l, &W->h.launcher, next)
if(!strcmp(l->name, cmd)) if(!strcmp(l->name, cmd))
{ {