Changeset 1425 for trunk/dll/treecnr.c
- Timestamp:
- Jun 6, 2009, 10:39:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/treecnr.c
r1424 r1425 743 743 CHAR szFree[64]; 744 744 CNRINFO cnri; 745 CHAR FileSystem[CCHMAXPATH * 2]; 746 CHAR szTmpLabel[CCHMAXPATH]; 747 ULONG type; 745 748 746 749 strcpy(s, GetPString(IDS_TREETEXT)); … … 773 776 else 774 777 *szFree = 0; 775 driveserial[toupper(*pci->pszFileName) - 'A'] = volser.serial; 776 sprintf(&s[strlen(s)], 777 GetPString(IDS_TREESTATUSSTARTTEXT), 778 toupper(*pci->pszFileName), 779 volser.volumelabel, volser.serial, szFree); 778 driveserial[toupper(*pci->pszFileName) - 'A'] = volser.serial; 779 if (CheckDrive(toupper(*pci->pszFileName), FileSystem, &type) == -1 || fShowSysType) 780 strcpy(FileSystem, ""); 781 if (fShowLabel) 782 strcpy(szTmpLabel, ""); 783 else 784 strcpy(szTmpLabel, volser.volumelabel); 785 786 sprintf(s, 787 GetPString(fShowSysType ? IDS_TREESTATUSSTART1TEXT : fShowLabel 788 ? IDS_TREESTATUSSTART2TEXT : IDS_TREESTATUSSTARTTEXT), 789 toupper(*pci->pszFileName), FileSystem, 790 szTmpLabel, volser.serial, szFree); 780 791 if (!fMoreButtons) { 781 792 if (*dcd->mask.szMask ||
Note:
See TracChangeset
for help on using the changeset viewer.