Latest release 2.2 reveals an issue with set_name.
When called with "set_name("built-in pseudofont");" in
defaultfont.C, set_font just changes the pointer, but
then our string disappears.
Should use strdup. Patch attached.
Realized i didn't attach the fix. Attached is the easy fix,
but i think it'd be better to have set_name use strdup on
the passed character array, and fix the other calls to
set_name to *not* use like they do currently (e.g:
set_name(strdup(fname));)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=789535
Realized i didn't attach the fix. Attached is the easy fix,
but i think it'd be better to have set_name use strdup on
the passed character array, and fix the other calls to
set_name to *not* use like they do currently (e.g:
set_name(strdup(fname));)
Fix to make the one call to set_name use strdup