Changeset 1877 for trunk/dll/strutil.c


Ignore:
Timestamp:
Oct 11, 2015, 11:43:27 PM (10 years ago)
Author:
Gregg Young
Message:

Remove debug code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/strutil.c

    r1460 r1877  
    123123  }
    124124
    125   // DbgMsg(pszSrcFile, __LINE__, "Fetching %lu", id);
    126 
    127125  // If string already loaded, return it now
    128126  if (id >= ulFirstId &&
     
    133131    if (((ULONG)psz & 0xffff0000) == 0)
    134132      DbgMsg(pszSrcFile, __LINE__, "id %lu corrupted %p", id, psz);
    135     // DbgMsg(pszSrcFile, __LINE__, "id %lu \"%s\"", id, psz ? psz : "(null)");
    136133    return psz;
    137134  }
     
    158155    if (i < cLongStrings) {
    159156      // Combine stringtable items to build long string
    160       // DbgMsg(pszSrcFile, __LINE__, "Building long string %lu", id);
    161157      for (; LongStrings[i].id == id; i++) {
    162158        uDbgState = 3;
     
    207203  uDbgState = 5;
    208204  // Add to cache
    209   // DbgMsg(pszSrcFile, __LINE__, "Caching %lu", id);
    210 
    211205  // Calculate new array limits
    212206  if (!pLoadedStrings) {
     
    225219      !pLoadedStrings) {
    226220    PSZ *pNewLoadedStrings;
    227     // DbgMsg(pszSrcFile, __LINE__, "Reallocating for %lu", id);
    228221    pNewLoadedStrings = xrealloc(pLoadedStrings,
    229222                                 (ulNewLastId - ulNewFirstId + 1) * sizeof(PSZ),
     
    259252  pLoadedStrings[id - ulFirstId] = psz;
    260253  cBusy--;
    261   // DbgMsg(pszSrcFile, __LINE__, "id %lu \"%s\"", id, psz ? psz : "(null)");
    262254  return psz;
    263255}
Note: See TracChangeset for help on using the changeset viewer.