Re: [AD] load_font patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi Peter,

> That line should be:

>     char tmp[16];
>     ...
>     if (ustricmp(get_extension(filename), uconvert_ascii("fnt", tmp)) == 0)

Yeah, sorry, I need more coffee. Anyway...

> BTW, we have our own implementation of stricmp() if libc doesn't provide it.

Cool! MinGW's libc does come with stricmp() though, the problem was only
that fontgrx.c didn't include string.h. Revised patch attached.

--
Daniel Schlyder
http://bitblaze.com/

Attachment: new_font_code_warnings-2.diff
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/