Changeset 746 for trunk/dll/comp.c
- Timestamp:
- Jul 31, 2007, 2:49:52 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/dll/comp.c ¶
r742 r746 473 473 pciO->pszFileName = xstrdup(newname, pszSrcFile, __LINE__); 474 474 if (hwndCnrS == WinWindowFromID(cmp->hwnd, COMP_RIGHTDIR)) { 475 pciO->psz FileName = pciO->pszFileName + strlen(cmp->leftdir);475 pciO->pszDisplayName = pciO->pszFileName + strlen(cmp->leftdir); 476 476 if (cmp->leftdir[strlen(cmp->leftdir) - 1] != '\\') 477 477 pciO->pszFileName++; 478 478 } 479 479 else { 480 pciO->psz FileName = pciO->pszFileName + strlen(cmp->rightdir);480 pciO->pszDisplayName = pciO->pszFileName + strlen(cmp->rightdir); 481 481 if (cmp->rightdir[strlen(cmp->rightdir) - 1] != '\\') 482 482 pciO->pszFileName++; … … 554 554 pciO->pszFileName = xstrdup(newname, pszSrcFile, __LINE__); 555 555 if (hwndCnrS == WinWindowFromID(cmp->hwnd, COMP_RIGHTDIR)) { 556 pciO->psz FileName = pciO->pszFileName + strlen(cmp->leftdir);556 pciO->pszDisplayName = pciO->pszFileName + strlen(cmp->leftdir); 557 557 if (cmp->leftdir[strlen(cmp->leftdir) - 1] != '\\') 558 558 pciO->pszFileName++; 559 559 } 560 560 else { 561 pciO->psz FileName = pciO->pszFileName + strlen(cmp->rightdir);561 pciO->pszDisplayName = pciO->pszFileName + strlen(cmp->rightdir); 562 562 if (cmp->rightdir[strlen(cmp->rightdir) - 1] != '\\') 563 563 pciO->pszFileName++; … … 1030 1030 pcir->pszFileName = xmalloc(CCHMAXPATH, pszSrcFile, __LINE__);//29 Jul 07 GKY Temp fix to crash 1031 1031 pcir->rc.pszIcon = pcir->pszFileName; 1032 1033 pcir->pszDisplayName = pcir->pszFileName;// Not used here1032 pcir->rc.hptrIcon = (HPOINTER) 0; 1033 pcir->pszDisplayName = NULL; // Not used here 1034 1034 pcir->pszSubject = xmalloc(CCHMAXPATH, pszSrcFile, __LINE__); 1035 1035 //pcir->pszLongname = pcir->pszFileName; … … 1041 1041 pcil->rc.hptrIcon = (HPOINTER) 0; 1042 1042 pcil->pszDispAttr = pcil->szDispAttr; 1043 pcil->pszDisplayName = pcil->pszFileName;// Not used here1043 pcil->pszDisplayName = NULL; // Not used here 1044 1044 pcil->pszSubject = xmalloc(CCHMAXPATH, pszSrcFile, __LINE__) ; 1045 1045 //pcil->pszLongname = pcil->pszFileName; … … 1052 1052 NullStr : "\\", filesl[l]->fname); 1053 1053 // pcil->rc.hptrIcon = hptrFile; 1054 pcil->psz FileName = pcil->pszFileName + lenl;1054 pcil->pszDisplayName = pcil->pszFileName + lenl; 1055 1055 pcil->attrFile = filesl[l]->attrFile; 1056 1056 y = 0; … … 1091 1091 (cmp->rightdir[strlen(cmp->rightdir) - 1] == '\\') ? 1092 1092 NullStr : "\\", filesr[r]->fname); 1093 pcir->psz FileName = pcir->pszFileName + lenr;1093 pcir->pszDisplayName = pcir->pszFileName + lenr; 1094 1094 pcir->attrFile = filesr[r]->attrFile; 1095 1095 // pcir->rc.hptrIcon = hptrFile; … … 1189 1189 (cmp->leftdir[strlen(cmp->leftdir) - 1] == '\\') ? 1190 1190 NullStr : "\\", filesl[l]->fname); 1191 pcil->psz FileName = pcil->pszFileName + lenl;1191 pcil->pszDisplayName = pcil->pszFileName + lenl; 1192 1192 pcil->attrFile = filesl[l]->attrFile; 1193 1193 // pcil->rc.hptrIcon = hptrFile; … … 1233 1233 (cmp->rightdir[strlen(cmp->rightdir) - 1] == '\\') ? 1234 1234 NullStr : "\\", filesr[r]->fname); 1235 pcir->psz FileName = pcir->pszFileName + lenr;1235 pcir->pszDisplayName = pcir->pszFileName + lenr; 1236 1236 pcir->attrFile = filesr[r]->attrFile; 1237 1237 // pcir->rc.hptrIcon = hptrFile; … … 1279 1279 (cmp->leftdir[strlen(cmp->leftdir) - 1] == '\\') ? 1280 1280 NullStr : "\\", filesl[l]->fname); 1281 pcil->psz FileName = pcil->pszFileName + lenl;1281 pcil->pszDisplayName = pcil->pszFileName + lenl; 1282 1282 pcil->attrFile = filesl[l]->attrFile; 1283 1283 // pcil->rc.hptrIcon = hptrFile; … … 1323 1323 (cmp->rightdir[strlen(cmp->rightdir) - 1] == '\\') ? 1324 1324 NullStr : "\\", filesr[r]->fname); 1325 pcir->psz FileName = pcir->pszFileName + lenr;1325 pcir->pszDisplayName = pcir->pszFileName + lenr; 1326 1326 pcir->attrFile = filesr[r]->attrFile; 1327 1327 // pcir->rc.hptrIcon = hptrFile;
Note:
See TracChangeset
for help on using the changeset viewer.