commit 38f1663df99f658da5b58b3f5ac28114aa63ade2
parent df708da914d06b3043db473244586ae65bc17d69
Author: garbeam <garbeam@localhost.localdomain>
Date: Thu, 8 Dec 2005 18:45:12 +0200
fixed serious bug in wmikeys
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wmikeys.c b/cmd/wmikeys.c
@@ -259,7 +259,7 @@ static void handle_shortcut(Window w, unsigned long mod, KeyCode key)
spawn(dpy, s->cmdfile->content);
return;
}
- if (s->next)
+ if (s && s->next)
handle_shortcut_chain(w, s, s->name, 1);
}