Changeset 1702
- Timestamp:
- Dec 17, 2013, 11:45:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/collect.c
r1675 r1702 80 80 13 Aug 11 GKY Have file count and KIBs update at the same time 81 81 04 Aug 12 GKY Changes to use Unlock to unlock files if Unlock.exe is in path both from menu and as part of copy, move and 82 82 delete operations 83 83 05 Sep 12 SHL Correct UM_COLLECTFROMFILE bad list file reporting 84 13 Dec 13 SHL CollectorCnrWndProc IDM_FILTER: avoid exception on missing fileName 84 85 85 86 ***********************************************************************/ … … 809 810 // 2011-05-29 SHL fixme to complain on failure 810 811 PostMsg(dcd->hwndCnr, UM_RESCAN, MPVOID, MPVOID); 811 812 812 ulRecsInserted += ulRecsToInsert; 813 dcd->ullTotalBytes = ullTotalBytes; 813 814 pciFirst = NULL; 814 815 ulRecsToInsert = 0; … … 952 953 first = FALSE; 953 954 } 954 } 955 } // while not eof 955 956 fclose(fp); 956 957 } // if file opened … … 1707 1708 switch (SHORT1FROMMP(mp1)) { 1708 1709 case IDM_SETTARGET: 1709 1710 SetTargetDir(hwnd, FALSE, NULL); 1710 1711 break; 1711 1712 … … 2113 2114 if (!*dcd->mask.szMask) { 2114 2115 empty = TRUE; 2116 // 2013-12-13 SHL Allow nul pszFileName 2115 2117 pci = (PCNRITEM) CurrentRecord(hwnd); 2116 if (pci && !(pci->attrFile & FILE_DIRECTORY)) {2118 if (pci && pci->pszFileName && ~pci->attrFile & FILE_DIRECTORY) { 2117 2119 p = strrchr(pci->pszFileName, '\\'); 2118 2120 if (p) {
Note:
See TracChangeset
for help on using the changeset viewer.