Changeset 690 for trunk/dll/select.c
- Timestamp:
- Jun 15, 2007, 6:02:06 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/select.c
r689 r690 19 19 19 Apr 07 SHL Sync with NumItemsToUnhilite mods 20 20 12 May 07 SHL Use dcd->ulItemsToUnHilite 21 14 Jun 07 SHL SelectAll: make odd expression go away 21 22 22 23 ***********************************************************************/ … … 63 64 MPFROM2SHORT(FALSE, CRA_SELECTED)); 64 65 if (!all) 65 66 break; 66 67 // Count is one extra to ensure non-zero elsewhere 67 68 // x is 0 based index 68 69 if (x + 2 == ulItemsToUnHilite) 69 70 break; 70 71 if (list) 71 72 AddToList(pci->szFileName, list, &numfiles, &numalloc); … … 199 200 if (wildcard((strchr(Mask.pszMasks[x], '\\') || 200 201 strchr(Mask.pszMasks[x], ':')) ? 201 pci->szFileName : file, Mask.pszMasks[x], FALSE)) 202 pci->szFileName : 203 file, 204 Mask.pszMasks[x], 205 FALSE)) { 202 206 markit = TRUE; 207 } 203 208 } 204 209 else { 205 if (wildcard((strchr(Mask.pszMasks[x], '\\') || //fixme always true? 206 strchr(Mask.pszMasks[x], ':'), FALSE) ? 207 pci->szFileName : file, Mask.pszMasks[x] + 1, 210 if (wildcard((strchr(Mask.pszMasks[x], '\\') || 211 strchr(Mask.pszMasks[x], ':')) ? 212 pci->szFileName : 213 file, 214 Mask.pszMasks[x] + 1, 208 215 FALSE)) { 209 216 markit = FALSE; … … 212 219 } 213 220 } 214 } 221 } // for 215 222 } 216 223 } … … 503 510 p = mask->szMaskCopy; 504 511 strcpy(p, mask->szMask); 505 // memset(mask->pszMasks,0,sizeof(mask->pszMasks); // fixme to be gone506 512 // Allow up to 25 masks - ignore extras 507 513 for (x = 0; *p && x < 25; x++) { … … 767 773 768 774 case IDM_SELECTSAMECONTENT: 769 // fixme 775 // fixme why? 770 776 for (x = 0; x < numS; x++) { 771 777 if (~pciSa[x]->rc.flRecordAttr & CRA_FILTERED && … … 817 823 else if (memcmp(buf1, buf2, numread1)) 818 824 break; 819 } 820 } 825 } // while 826 } // same len 821 827 } 822 828 } … … 1188 1194 FreeCnrs(Cnrs, numwindows); 1189 1195 Runtime_Error(pszSrcFile, __LINE__, "expected two windows"); 1190 // fixme DosBeep(250,100);1191 1196 Notify(GetPString(IDS_COMPSEL2ORMORETEXT)); 1192 1197 return;
Note:
See TracChangeset
for help on using the changeset viewer.