Re: [dev] [dmenu] [path] segfault on XK_Return when nothing matched

2014-04-06 Thread Anton Ermolenko
ped word has no matches. Sorry for poor english. -- Sincerely, Anton On 07 Apr 2014 at 10:49:09AM, Chris Down wrote: > Anton Ermolenko writes: > > I've tried to use dmenu to open URLs with surf and discovered that it > > crashes with segfault when you hit return on a word

[dev] [dmenu] [path] segfault on XK_Return when nothing matched

2014-04-06 Thread Anton Ermolenko
Hello! I've tried to use dmenu to open URLs with surf and discovered that it crashes with segfault when you hit return on a word which hasn't matches. So I've made a patch, which you can find in attachment. Patch tested with dmenu 6.0 sources. -- Sincerely, Anton diff --git a/dmenu.c b/dmenu.