Ignore:
Timestamp:
Oct 28, 2008, 3:11:08 PM (11 years ago)
Author:
nico
Message:
  • Check that a caca_figfont was loaded before using it in caca_put_figchar()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/figfont.c

    r2960 r3130  
    132132    caca_figfont_t *ff = cv->ff;
    133133    int c, w, h, x, y, overlap, extra, xleft, xright;
     134
     135    if (!ff)
     136        return -1;
    134137
    135138    switch(ch)
Note: See TracChangeset for help on using the changeset viewer.