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

2015-10-19 Thread Hiltjo Posthuma
On Mon, Oct 19, 2015 at 11:53 AM, Ilias Tsitsimpis wrote: > 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

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

2015-10-19 Thread Matthew of Boswell
On Mon, 19 Oct 2015 12:53:50 +0300 Ilias Tsitsimpis wrote: > 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", > fontn

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 of one little bug. I wasn't sarc

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

2015-10-19 Thread Staven
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 of one little bug.

[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