Changeset 672 for trunk/dll/select.c
- Timestamp:
- May 13, 2007, 7:57:48 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/select.c
r618 r672 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2004, 200 6Steven H. Levine9 Copyright (c) 2004, 2007 Steven H. Levine 10 10 11 11 01 Aug 04 SHL Rework lstrip/rstrip usage … … 18 18 06 Apr 07 GKY Work around PM DragInfo and DrgFreeDISH limits 19 19 19 Apr 07 SHL Sync with NumItemsToUnhilite mods 20 12 May 07 SHL Use dcd->ulItemsToUnHilite 20 21 21 22 ***********************************************************************/ … … 41 42 static PSZ pszSrcFile = __FILE__; 42 43 43 VOID UnHilite(HWND hwndCnr, BOOL all, CHAR *** list )44 VOID UnHilite(HWND hwndCnr, BOOL all, CHAR *** list, ULONG ulItemsToUnHilite) 44 45 { 45 46 PCNRITEM pci; … … 64 65 break; 65 66 // 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) 68 69 break; 69 }70 70 if (list) 71 71 AddToList(pci->szFileName, list, &numfiles, &numalloc); … … 87 87 88 88 if (clearfirst && !deselect) 89 UnHilite(hwndCnr, TRUE, NULL );89 UnHilite(hwndCnr, TRUE, NULL, 0); 90 90 if (list && list[0]) { 91 91 for (x = 0; list[x]; x++) {
Note:
See TracChangeset
for help on using the changeset viewer.