Changeset 1298 for toilet


Ignore:
Timestamp:
Nov 6, 2006, 6:33:31 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Make figlet font importer more tolerant with empty lines.
File:
1 edited

Legend:

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

    r1289 r1298  
    199199                break;
    200200
     201            /* Ignore blank lines, as in jacky.flf */
     202            if(buf[0] == '\n' || buf[0] == '\r')
     203                continue;
     204
    201205            if(!buf[0] || buf[0] < '0' || buf[0] > '9')
    202206            {
Note: See TracChangeset for help on using the changeset viewer.