On Mon, Jun 8, 2015 at 11:48 PM, Hiltjo Posthuma <[email protected]> wrote:
> On Mon, Jun 8, 2015 at 11:05 PM, Hiltjo Posthuma <[email protected]> 
> wrote:
>> ... snip ...
>>
>

Some more thoughts: in drw.c these functions don't check if drw ==
NULL before use: drw_load_fonts, drw_font_xcreate.

We should probably not check these in drw.c and let the program using
drw error out at drw_create(). If an invalid context is passed it
should just crash. This would make spotting errors regarding drw.{c,h}
simpler aswell.

Kind regards,
Hiltjo

Reply via email to