Changeset 199 for trunk/dll/comp.c
- Timestamp:
- Jun 8, 2005, 7:54:16 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/dll/comp.c ¶
r157 r199 15 15 24 May 05 SHL Rework for CNRITEM.szSubject 16 16 25 May 05 SHL Rework with ULONGLONG 17 06 Jun 05 SHL Drop unused 17 18 18 19 ***********************************************************************/ … … 35 36 #include "fm3str.h" 36 37 37 #pragma alloc_text(COMPAREDIR,FillCnrs,FillDirList,CompNames ,CompNames2)38 #pragma alloc_text(COMPAREDIR,FillCnrs,FillDirList,CompNames) 38 39 #pragma alloc_text(COMPAREDIR1,CompareDlgProc) 39 40 #pragma alloc_text(COMPAREDIR2,SelectCnrs,ActionCnr) … … 722 723 723 724 return stricmp(fl1->fname,fl2->fname); 724 }725 726 727 static int CompNames2 (const void *n1,const void *n2) {728 729 FILELIST *fl1 = *(FILELIST **)n1;730 FILELIST *fl2 = *(FILELIST **)n2;731 register CHAR *p1,*p2;732 733 p1 = strrchr(fl1->fname,'\\');734 if(p1)735 p1++;736 else737 p1 = fl1->fname;738 p2 = strrchr(fl2->fname,'\\');739 if(p2)740 p2++;741 else742 p2 = fl2->fname;743 return stricmp(p1,p2);744 725 } 745 726
Note:
See TracChangeset
for help on using the changeset viewer.