Changeset 1413 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
Apr 24, 2009, 11:51:13 PM (16 years ago)
Author:
Gregg Young
Message:

Fixed select/deselect mask and filtering for wildcards without \ or / in them for archives with path names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1411 r1413  
    429429        if (*dcd->mask.pszMasks[x]) {
    430430          if (*dcd->mask.pszMasks[x] != '/') {
    431             if (wildcard(r->pszFileName, dcd->mask.pszMasks[x], FALSE))
     431            if (wildcard(r->pszFileName, dcd->mask.pszMasks[x], TRUE))
    432432              ret = TRUE;
    433433          }
    434434          else {
    435             if (wildcard(r->pszFileName, dcd->mask.pszMasks[x] + 1, FALSE)) {
     435            if (wildcard(r->pszFileName, dcd->mask.pszMasks[x] + 1, TRUE)) {
    436436              ret = FALSE;
    437437              break;
     
    442442    }
    443443    else {
    444       if (wildcard(r->pszFileName, dcd->mask.szMask, FALSE))
     444      if (wildcard(r->pszFileName, dcd->mask.szMask, TRUE))
    445445        ret = TRUE;
    446446    }
     
    15581558          mask.fNoAttribs = TRUE;
    15591559          mask.fNoDirs = TRUE;
     1560          mask.fText = TRUE;
    15601561          strcpy(mask.prompt,
    15611562                 GetPString((SHORT1FROMMP(mp1) == IDM_SELECTMASK) ?
     
    15701571              DeselectAll(dcd->hwndCnr, TRUE, TRUE, mask.szMask, NULL, FALSE);
    15711572          }
    1572         }
     1573        }
     1574        break;
    15731575
    15741576      case IDM_INVERT:
Note: See TracChangeset for help on using the changeset viewer.