Changeset 6665 for trunk/tools/database/StateUpd.cpp
- Timestamp:
- Sep 6, 2001, 5:17:37 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/database/StateUpd.cpp
r6663 r6665 1 /* $Id: StateUpd.cpp,v 1.3 6 2001-09-06 03:07:31bird Exp $1 /* $Id: StateUpd.cpp,v 1.37 2001-09-06 03:17:37 bird Exp $ 2 2 * 3 3 * StateUpd - Scans source files for API functions and imports data on them. … … 908 908 { 909 909 while (*pszEnd == '\n' || *pszEnd == ' ' || *pszEnd == '\t' || *pszEnd == '\r') 910 ++pszEnd;910 pszEnd++; 911 911 if (!strnicmp(pszEnd, "@sub", 4) && !strnicmp(findEndOfWord(pszEnd + 1) - 7, "section", 7)) 912 912 { … … 919 919 if (!pszEnd) 920 920 pszEnd = psz + strlen(psz); 921 else if (psz != pszEnd) 922 pszEnd[-1] = '\0'; 921 923 else 922 psz End[-1] = '\0';924 psz = ""; 923 925 924 926 /* … … 2569 2571 else 2570 2572 break; 2571 }2572 *++pszEnd = '\0';2573 pszEnd[1] = '\0'; 2574 } 2573 2575 2574 2576 while (psz < pszEnd)
Note:
See TracChangeset
for help on using the changeset viewer.