Changeset 1299


Ignore:
Timestamp:
Nov 6, 2006, 6:39:42 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Ignore negative indices in font data.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/figlet.c

    r1298 r1299  
    203203                continue;
    204204
     205            /* Ignore negative indices for now, as in ivrit.flf */
     206            if(buf[0] == '-')
     207            {
     208                for(j = 0; j < cx->height; j++)
     209                    toigets(buf, 2048, f);
     210                continue;
     211            }
     212
    205213            if(!buf[0] || buf[0] < '0' || buf[0] > '9')
    206214            {
Note: See TracChangeset for help on using the changeset viewer.