Changeset 731 for trunk/dll/objcnr.c
- Timestamp:
- Jul 24, 2007, 1:18:39 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/objcnr.c
r730 r731 67 67 RECORDINSERT ri; 68 68 PCNRITEM pciP; 69 CHAR *f = 0;70 69 71 70 ffb = xmalloc(sizeof(FILEFINDBUF3), pszSrcFile, __LINE__); … … 92 91 93 92 if ((!rc && (ffb->attrFile & FILE_DIRECTORY))) { 94 pciP = 95 WinSendMsg(hwndCnr, CM_ALLOCRECORD, MPFROMLONG(EXTRA_RECORD_BYTES2), 96 MPFROMLONG(1L)); 93 pciP = WinSendMsg(hwndCnr, 94 CM_ALLOCRECORD, 95 MPFROMLONG(EXTRA_RECORD_BYTES2), 96 MPFROMLONG(1L)); 97 97 if (!pciP) { 98 98 free(ffb); … … 101 101 pciP->pszFileName = xstrdup(filename, pszSrcFile, __LINE__); 102 102 pciP->pszDispAttr = pciP->szDispAttr; 103 *pciP->szDispAttr = 0; 103 104 //pciP->pszSubject = pciP->szSubject; 105 pciP->pszSubject = xstrdup(NullStr, pszSrcFile, __LINE__); // 23 Jul 07 SHL 104 106 //pciP->pszLongname = pciP->szLongname; 105 pciP->pszDispAttr = pciP->szDispAttr; 106 *pciP->szDispAttr = 0; 107 pciP->pszLongname = xstrdup(f, pszSrcFile, __LINE__); 108 pciP->pszSubject = xstrdup(f, pszSrcFile, __LINE__); 107 pciP->pszLongname = xstrdup(NullStr, pszSrcFile, __LINE__); 109 108 if (strlen(filename) < 4) 110 109 pciP->pszFileName = pciP->pszFileName;
Note:
See TracChangeset
for help on using the changeset viewer.