[dev] [dmenu] Handle invalid font names

From: Ilias Tsitsimpis <i.tsitsimpis_AT_gmail.com>
Date: Mon, 19 Oct 2015 12:53:50 +0300

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 intended behavior.

Keep up the good work!

Cheers,
Ilias
Received on Mon Oct 19 2015 - 11:53:50 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 19 2015 - 12:00:11 CEST