Changeset 770 for libcaca


Ignore:
Timestamp:
Apr 14, 2006, 9:33:48 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Only support version 1 fonts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/font.c

    r769 r770  
    138138    if(size != 8 + f->header.control_size + f->header.data_size
    139139        || (f->header.bpp != 8 && f->header.bpp != 4 &&
    140             f->header.bpp != 2 && f->header.bpp != 1))
     140            f->header.bpp != 2 && f->header.bpp != 1)
     141        || (flags & 1) == 0)
    141142    {
    142143        free(f);
Note: See TracChangeset for help on using the changeset viewer.