Changeset 406 for trunk/dll/menu.c


Ignore:
Timestamp:
Jul 29, 2006, 10:02:17 PM (19 years ago)
Author:
root
Message:

Use xfgets_bstripcr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/menu.c

    r356 r406  
    1111  01 Aug 04 SHL Rework lstrip/rstrip usage
    1212  22 Jul 06 SHL Check more run time errors
     13  29 Jul 06 SHL Use xfgets_bstripcr
    1314
    1415***********************************************************************/
     
    99100  else {
    100101    while (!feof(fp)) {
    101       if (!fgets(s,256,fp))
     102      if (!xfgets_bstripcr(s,sizeof(s),fp,pszSrcFile,__LINE__))
    102103        break;
    103104      lines++;
    104       bstripcr(s);
    105105      if(!*s || *s == ';')
    106106        continue;
Note: See TracChangeset for help on using the changeset viewer.