Changeset 1673 for trunk/dll/findrec.c
- Timestamp:
- Dec 30, 2012, 7:51:01 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/dll/findrec.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/findrec.c
r1550 r1673 56 56 srch.fsPrefix = FALSE; 57 57 srch.fsCaseSensitive = FALSE; 58 srch.usView = CV_TREE; /* | CV_EXACTMATCH; */58 srch.usView = CV_TREE; 59 59 if (!pciParent) 60 60 pciParent = (PCNRITEM) CMA_FIRST; … … 63 63 while (pci && (INT) pci != -1) { 64 64 if (!noenv || (pci->flags & (RECFLAGS_ENV | RECFLAGS_UNDERENV)) == 0) { 65 if (!partmatch) { / * full name must match full name */65 if (!partmatch) { // full name must match full name 66 66 if (!stricmp(pci->pszFileName, filename)) 67 return pci; / * success */67 return pci; // success 68 68 } 69 else { / * only root name must match */69 else { // only root name must match 70 70 if (strlen(pci->pszFileName) > 3) { 71 71 p = strrchr(pci->pszFileName, '\\'); … … 83 83 p = pci->pszFileName; 84 84 if (!stricmp(p, file)) 85 return pci; / * success */85 return pci; // success 86 86 } 87 87 } … … 89 89 } 90 90 91 return NULL; / * failure */91 return NULL; // failure 92 92 } 93 93
Note:
See TracChangeset
for help on using the changeset viewer.
