Changeset 1067 for trunk/dll/dirsize.c
- Timestamp:
- Jul 14, 2008, 2:53:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dirsize.c
r1064 r1067 311 311 CHAR szBuf[CCHMAXPATH + 320]; 312 312 313 # ifdef FORTIFY314 Fortify_EnterScope();315 # endif316 317 313 // cbFile = currect directory usage in bytes 318 314 // easize = subdirectory usage in bytes … … 376 372 attrib = CMA_FIRST; 377 373 pci = (PCNRITEM) WinSendMsg(hwndCnr, CM_QUERYRECORD, MPFROMP(pci), 378 374 MPFROM2SHORT(attrib, CMA_ITEMORDER)); 379 375 while (pci && (INT) pci != -1) { 380 376 if (*pchStopFlag) … … 684 680 685 681 // Calculate nominal graph box height based on font size 686 GpiQueryTextBox(oi->hps, strlen(pci->pszFileName),682 GpiQueryTextBox(oi->hps, p - pci->pszFileName, 687 683 pci->pszFileName, TXTBOX_COUNT, aptl); 688 684 boxHeight = aptl[TXTBOX_TOPRIGHT].y - aptl[TXTBOX_BOTTOMRIGHT].y; … … 697 693 ptl.y = yBottom + boxHeight + 6; // 03 Aug 07 SHL 698 694 // GpiMove(oi->hps, &ptl); 699 GpiCharStringAt(oi->hps, &ptl, strlen(pci->pszFileName),695 GpiCharStringAt(oi->hps, &ptl, p - pci->pszFileName, 700 696 pci->pszFileName); 701 697 … … 743 739 ptl.y = yBottom + boxHeight; 744 740 GpiMove(oi->hps, &ptl); 745 ptl.x = oi->rclItem.xLeft + 20 3;741 ptl.x = oi->rclItem.xLeft + 201; 746 742 GpiLine(oi->hps, &ptl); 747 743 ptl.y = yBottom + boxHeight - 2;
Note:
See TracChangeset
for help on using the changeset viewer.