actualyl chekc if the font laod works and remove another bad font

SVN revision: 418
This commit is contained in:
Carsten Haitzler 1999-09-27 22:55:56 +00:00
parent 6000a3b5d0
commit 2f5f3f186a
2 changed files with 5 additions and 1 deletions

6
main.c
View File

@ -199,7 +199,11 @@ int main (int argc, char **argv)
/* "TIMES/30" "badacid/30" "bajoran/30" "bigfish/30" */
__imlib_add_font_path("./ttfonts");
if (fon)
fn = __imlib_load_font(fon);
{
fn = __imlib_load_font(fon);
if (!fn)
fon = NULL;
}
if (file)
im_bg = imlib_load_image(file);

Binary file not shown.