Changeset 1877 for trunk/dll/strutil.c
- Timestamp:
- Oct 11, 2015, 11:43:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/strutil.c
r1460 r1877 123 123 } 124 124 125 // DbgMsg(pszSrcFile, __LINE__, "Fetching %lu", id);126 127 125 // If string already loaded, return it now 128 126 if (id >= ulFirstId && … … 133 131 if (((ULONG)psz & 0xffff0000) == 0) 134 132 DbgMsg(pszSrcFile, __LINE__, "id %lu corrupted %p", id, psz); 135 // DbgMsg(pszSrcFile, __LINE__, "id %lu \"%s\"", id, psz ? psz : "(null)");136 133 return psz; 137 134 } … … 158 155 if (i < cLongStrings) { 159 156 // Combine stringtable items to build long string 160 // DbgMsg(pszSrcFile, __LINE__, "Building long string %lu", id);161 157 for (; LongStrings[i].id == id; i++) { 162 158 uDbgState = 3; … … 207 203 uDbgState = 5; 208 204 // Add to cache 209 // DbgMsg(pszSrcFile, __LINE__, "Caching %lu", id);210 211 205 // Calculate new array limits 212 206 if (!pLoadedStrings) { … … 225 219 !pLoadedStrings) { 226 220 PSZ *pNewLoadedStrings; 227 // DbgMsg(pszSrcFile, __LINE__, "Reallocating for %lu", id);228 221 pNewLoadedStrings = xrealloc(pLoadedStrings, 229 222 (ulNewLastId - ulNewFirstId + 1) * sizeof(PSZ), … … 259 252 pLoadedStrings[id - ulFirstId] = psz; 260 253 cBusy--; 261 // DbgMsg(pszSrcFile, __LINE__, "id %lu \"%s\"", id, psz ? psz : "(null)");262 254 return psz; 263 255 }
Note:
See TracChangeset
for help on using the changeset viewer.