Changeset 1413 for trunk/dll/select.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/select.c

    r1304 r1413  
    229229              pszToMatch = file;
    230230            if (*Mask.pszMasks[x] != '/') {
    231               if (wildcard(pszToMatch, Mask.pszMasks[x], FALSE)) {
     231              if (wildcard(pszToMatch, Mask.pszMasks[x], TRUE)) {
    232232                markit = TRUE;
    233233              }
    234234            }
    235235            else {
    236               if (wildcard(pszToMatch, Mask.pszMasks[x] + 1, FALSE)) {
     236              if (wildcard(pszToMatch, Mask.pszMasks[x] + 1, TRUE)) {
    237237                markit = FALSE;
    238238                break;
     
    333333              pszToMatch = file;
    334334            if (*Mask.pszMasks[x] != '/') {
    335               if (wildcard(pszToMatch, Mask.pszMasks[x], FALSE))
     335              if (wildcard(pszToMatch, Mask.pszMasks[x], TRUE))
    336336                unmarkit = TRUE;
    337337            }
    338338            else {
    339               if (wildcard(pszToMatch, Mask.pszMasks[x] + 1, FALSE)) {
     339              if (wildcard(pszToMatch, Mask.pszMasks[x] + 1, TRUE)) {
    340340                unmarkit = FALSE;
    341341                break;
Note: See TracChangeset for help on using the changeset viewer.