Changeset 157 for trunk/dll/comp.c
- Timestamp:
- May 26, 2005, 4:18:54 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/comp.c
r145 r157 7 7 8 8 Copyright (c) 1993-02 M. Kimes 9 Copyright (c) 2003, 2005 Steven H. Levine9 Copyright (c) 2003, 2005 Steven H. Levine 10 10 11 11 16 Oct 02 MK Baseline … … 13 13 01 Aug 04 SHL Rework lstrip/rstrip usage 14 14 24 May 05 SHL Rework Win_Error usage 15 24 May 05 SHL Rework for CNRITEM.szSubject 16 25 May 05 SHL Rework with ULONGLONG 15 17 16 18 ***********************************************************************/ … … 19 21 #define INCL_WIN 20 22 #define INCL_GPI 21 23 #define INCL_LONGLONG 22 24 #include <os2.h> 25 23 26 #include <stdio.h> 24 27 #include <stdlib.h> … … 27 30 #include <share.h> 28 31 #include <io.h> 32 29 33 #include "fm3dll.h" 30 34 #include "fm3dlg.h" … … 44 48 45 49 46 void SnapShot (char *path,FILE *fp,BOOL recurse) {47 50 void SnapShot (char *path,FILE *fp,BOOL recurse) 51 { 48 52 FILEFINDBUF4 *fb; 49 53 char *mask,*enddir; … … 472 476 pciO->cbFile = pci->cbFile; 473 477 pciO->easize = pci->easize; 474 *pciO->s ubject= 0;478 *pciO->szSubject = 0; 475 479 *pci->szFileName = 0; 476 480 pci->pszFileName = pci->szFileName; … … 543 547 pciO->cbFile = pci->cbFile; 544 548 pciO->easize = pci->easize; 545 *pci->s ubject= 0;549 *pci->szSubject = 0; 546 550 pci->flags = CNRITEM_EXISTS; 547 551 WinSendMsg(hwndCnrS,CM_INVALIDATERECORD,MPFROMP(&pci), … … 999 1003 pcir->rc.pszIcon = pcir->pszFileName; 1000 1004 pcir->rc.hptrIcon = (HPOINTER)0; 1001 pcir->pszSubject = pcir->s ubject;1002 pcir->pszLongname = pcir-> Longname;1005 pcir->pszSubject = pcir->szSubject; 1006 pcir->pszLongname = pcir->szLongname; 1003 1007 pcir->pszDispAttr = pcir->szDispAttr; 1004 1008 pcil->hwndCnr = hwndLeft; … … 1007 1011 pcil->rc.hptrIcon = (HPOINTER)0; 1008 1012 pcil->pszDispAttr = pcil->szDispAttr; 1009 pcil->pszSubject = pcil->s ubject;1010 pcil->pszLongname = pcil-> Longname;1013 pcil->pszSubject = pcil->szSubject; 1014 pcil->pszLongname = pcil->szLongname; 1011 1015 if((filesl && filesl[l]) && (filesr && filesr[r])) { 1012 1016 x = stricmp(filesl[l]->fname,filesr[r]->fname); … … 1015 1019 (cmp->leftdir[strlen(cmp->leftdir) - 1] == '\\') ? 1016 1020 NullStr : "\\",filesl[l]->fname); 1017 //pcil->rc.hptrIcon = hptrFile;1021 // pcil->rc.hptrIcon = hptrFile; 1018 1022 pcil->pszFileName = pcil->szFileName + lenl; 1019 1023 pcil->attrFile = filesl[l]->attrFile; … … 1084 1088 pcil->flags |= CNRITEM_EXISTS; 1085 1089 pcir->flags |= CNRITEM_EXISTS; 1086 cl = pcil->s ubject;1090 cl = pcil->szSubject; 1087 1091 if(pcil->cbFile + pcil->easize > 1088 1092 pcir->cbFile + pcir->easize) { … … 1113 1117 pcil->flags |= CNRITEM_NEWER; 1114 1118 pcir->flags |= CNRITEM_OLDER; 1115 if(cl != pcil->s ubject) {1119 if(cl != pcil->szSubject) { 1116 1120 strcpy(cl,", "); 1117 1121 cl += 2; … … 1135 1139 pcil->flags |= CNRITEM_OLDER; 1136 1140 pcir->flags |= CNRITEM_NEWER; 1137 if(cl != pcil->s ubject) {1141 if(cl != pcil->szSubject) { 1138 1142 strcpy(cl,", "); 1139 1143 cl += 2;
Note:
See TracChangeset
for help on using the changeset viewer.