Ignore:
Timestamp:
Oct 5, 2000, 3:25:26 AM (25 years ago)
Author:
bird
Message:

Corrected flaw in setModuleName.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/kFileDef.cpp

    r4402 r4424  
    495495        pszEnd = strpbrk(pszStart, " \t");
    496496        if (pszEnd == NULL)
    497             pszEnd = pszStart + strlen(pszEnd);
     497            pszEnd = pszStart + strlen(pszStart);
    498498        pszModName = new char[pszEnd - pszStart + 1];
    499499        memcpy(pszModName, pszStart, pszEnd - pszStart);
Note: See TracChangeset for help on using the changeset viewer.