Ignore:
Timestamp:
Sep 6, 2001, 5:17:37 AM (24 years ago)
Author:
bird
Message:

More design note fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/StateUpd.cpp

    r6663 r6665  
    1 /* $Id: StateUpd.cpp,v 1.36 2001-09-06 03:07:31 bird Exp $
     1/* $Id: StateUpd.cpp,v 1.37 2001-09-06 03:17:37 bird Exp $
    22 *
    33 * StateUpd - Scans source files for API functions and imports data on them.
     
    908908            {
    909909                while (*pszEnd == '\n' || *pszEnd == ' ' || *pszEnd == '\t' || *pszEnd == '\r')
    910                     ++pszEnd;
     910                    pszEnd++;
    911911                if (!strnicmp(pszEnd, "@sub", 4) && !strnicmp(findEndOfWord(pszEnd + 1) - 7, "section", 7))
    912912                {
     
    919919            if (!pszEnd)
    920920                pszEnd = psz + strlen(psz);
     921            else if (psz != pszEnd)
     922                pszEnd[-1] = '\0';
    921923            else
    922                 pszEnd[-1] = '\0';
     924                psz = "";
    923925
    924926            /*
     
    25692571        else
    25702572            break;
    2571     }
    2572     *++pszEnd = '\0';
     2573        pszEnd[1] = '\0';
     2574    }
    25732575
    25742576    while (psz < pszEnd)
Note: See TracChangeset for help on using the changeset viewer.