Changeset 672 for trunk/dll/select.c


Ignore:
Timestamp:
May 13, 2007, 5:57:48 AM (14 years ago)
Author:
Steven Levine
Message:

Use dcd->ulItemsToUnHilite
Sync UnHilite? calls with arg mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/select.c

    r618 r672  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2004, 2006 Steven H. Levine
     9  Copyright (c) 2004, 2007 Steven H. Levine
    1010
    1111  01 Aug 04 SHL Rework lstrip/rstrip usage
     
    1818  06 Apr 07 GKY Work around PM DragInfo and DrgFreeDISH limits
    1919  19 Apr 07 SHL Sync with NumItemsToUnhilite mods
     20  12 May 07 SHL Use dcd->ulItemsToUnHilite
    2021
    2122***********************************************************************/
     
    4142static PSZ pszSrcFile = __FILE__;
    4243
    43 VOID UnHilite(HWND hwndCnr, BOOL all, CHAR *** list)
     44VOID UnHilite(HWND hwndCnr, BOOL all, CHAR *** list, ULONG ulItemsToUnHilite)
    4445{
    4546  PCNRITEM pci;
     
    6465          break;
    6566      // Count is one extra to ensure non-zero elsewhere
    66       if (NumItemsToUnhilite && x + 2 == NumItemsToUnhilite){
    67         NumItemsToUnhilite = 0;
     67      // x is 0 based index
     68      if (x + 2 == ulItemsToUnHilite)
    6869        break;
    69       }
    7070      if (list)
    7171        AddToList(pci->szFileName, list, &numfiles, &numalloc);
     
    8787
    8888  if (clearfirst && !deselect)
    89     UnHilite(hwndCnr, TRUE, NULL);
     89    UnHilite(hwndCnr, TRUE, NULL, 0);
    9090  if (list && list[0]) {
    9191    for (x = 0; list[x]; x++) {
Note: See TracChangeset for help on using the changeset viewer.