Changeset 1812 for trunk/dll/select.c


Ignore:
Timestamp:
Jun 14, 2015, 12:25:50 AM (10 years ago)
Author:
Gregg Young
Message:

Fixed compare selection replaced pszFileNames with pszDisplayNames Ticket [550]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/select.c

    r1673 r1812  
    3131  29 Feb 08 GKY Use xfree where appropriate
    3232  31 May 11 SHL Ensure mask->pszMasks[1] initialize to NULL if not used
     33  13 Jun 15 GKY Fixed compare selection replaced pszFileNames with pszDisplayNames
    3334
    3435***********************************************************************/
     
    619620  struct SS *ss2 = (struct SS *)s2;
    620621
    621   return stricmp((PSZ)s1, ss2->pci->pszFileName);
     622  return stricmp((PSZ)s1, ss2->pci->pszDisplayName);
    622623}
    623624
     
    730731      for (w = 0; w < numwindows; w++) {
    731732        if (w != z && Cnrs[w].numfiles) {
    732           bsres = (struct SS *)bsearch(Cnrs[z].ss[x].pci->pszFileName,
     733          bsres = (struct SS *)bsearch(Cnrs[z].ss[x].pci->pszDisplayName,
    733734                                       Cnrs[w].ss, Cnrs[w].numfiles,
    734735                                       sizeof(struct SS), CompSSNamesB);
Note: See TracChangeset for help on using the changeset viewer.