Re: [dev] [dmenu] Handle invalid font names

2015-10-19 Thread Ilias Tsitsimpis
On Mon, Oct 19, 2015 at 11:00AM, Staven wrote: > On Mon, Oct 19, 2015 at 12:53:50PM +0300, Ilias Tsitsimpis wrote: > > so I am guessing this is a bug and not the intended behavior. > > > > Keep up the good work! > > Jeez. No need to go all sarcastic just because o

[dev] [dmenu] Handle invalid font names

2015-10-19 Thread Ilias Tsitsimpis
Hi suckless team, I noticed that dmenu doesn't complain when supplied with a font that doesn't exist (e.g., dmenu -fn suckless). I found the following line in the code: drw.c:134 fprintf(stderr, "error, cannot load font: '%s'\n", fontname); so I am guessing this is a bug and not the intend