Changeset 1673 for trunk/dll/findrec.c


Ignore:
Timestamp:
Dec 30, 2012, 7:51:01 PM (13 years ago)
Author:
Gregg Young
Message:

Update to Doxygen comment style Ticket 55. Also some minor code cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/findrec.c

    r1550 r1673  
    5656  srch.fsPrefix = FALSE;
    5757  srch.fsCaseSensitive = FALSE;
    58   srch.usView = CV_TREE;                /* | CV_EXACTMATCH; */
     58  srch.usView = CV_TREE;               
    5959  if (!pciParent)
    6060    pciParent = (PCNRITEM) CMA_FIRST;
     
    6363  while (pci && (INT) pci != -1) {
    6464    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
    6666        if (!stricmp(pci->pszFileName, filename))
    67           return pci;                   /* success */
     67          return pci;                   // success
    6868      }
    69       else {                            /* only root name must match */
     69      else {                            // only root name must match
    7070        if (strlen(pci->pszFileName) > 3) {
    7171          p = strrchr(pci->pszFileName, '\\');
     
    8383          p = pci->pszFileName;
    8484        if (!stricmp(p, file))
    85           return pci;                   /* success */
     85          return pci;                   // success
    8686      }
    8787    }
     
    8989  }
    9090
    91   return NULL;                          /* failure */
     91  return NULL;                          // failure
    9292}
    9393
Note: See TracChangeset for help on using the changeset viewer.