Changeset 762 for trunk/dll/dirsize.c
- Timestamp:
- Aug 5, 2007, 1:19:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dirsize.c
r761 r762 185 185 // fixme to know why - it appears to be indirectly saving length, but why? 186 186 pci->pszDisplayName = pci->pszFileName + strlen(pci->pszFileName); 187 pci->pszLong name = pci->pszFileName; // fixme to be sure?187 pci->pszLongName = pci->pszFileName; // fixme to be sure? 188 188 pci->rc.pszIcon = pci->pszFileName; 189 189 pci->rc.flRecordAttr |= CRA_RECORDREADONLY; … … 304 304 } 305 305 // Need unique buffer 23 Jul 07 SHL 306 pci->pszLong name = xmalloc(2, pszSrcFile, __LINE__);307 pci->pszLong name[0] = 0; // Make null string308 pci->pszLong name[1] = 1; // Flag root - hack cough306 pci->pszLongName = xmalloc(2, pszSrcFile, __LINE__); 307 pci->pszLongName[0] = 0; // Make null string 308 pci->pszLongName[1] = 1; // Flag root - hack cough 309 309 } 310 310 else … … 699 699 /* fill box with graph bar, flags is integer % */ 700 700 if (pci->flags) { 701 if (*(pci->pszLong name + 1) == 1) /* is root record */701 if (*(pci->pszLongName + 1) == 1) /* is root record */ 702 702 GpiSetColor(oi->hps, CLR_DARKGREEN); 703 703 else … … 711 711 712 712 /* draw highlights and shadows on graph */ 713 if (*(pci->pszLong name + 1) == 1)713 if (*(pci->pszLongName + 1) == 1) 714 714 GpiSetColor(oi->hps, CLR_GREEN); 715 715 else … … 728 728 ptl.x = oi->rclItem.xLeft + pci->flags; 729 729 GpiLine(oi->hps, &ptl); 730 if (*(pci->pszLong name + 1) != 1) {730 if (*(pci->pszLongName + 1) != 1) { 731 731 GpiSetColor(oi->hps, CLR_DARKRED); 732 732 ptl.x = oi->rclItem.xLeft + 2;
Note:
See TracChangeset
for help on using the changeset viewer.