Changeset 730 for trunk/dll/misc.c
- Timestamp:
- Jul 22, 2007, 7:57:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r728 r730 24 24 18 Feb 07 GKY More drive type and drive icon support 25 25 10 Jun 07 GKY Add IsFm2Window as part of work around PM drag limit 26 05 Jul 07 GKY Fix menu removals for WORKPLACE_PROCESS=YES 26 27 27 28 ***********************************************************************/ … … 651 652 if (pci && 652 653 (INT) pci != -1 && 653 !IsRoot(pci-> szFileName) &&654 !IsRoot(pci->pszFileName) && 654 655 !(pci->flags & RECFLAGS_ENV) && !(pci->flags & RECFLAGS_UNDERENV)) { 655 656 if (!pfi || pfi->offStruct == FIELDOFFSET(CNRITEM, pszFileName)) { 656 PostMsg(hwnd, UM_FIXEDITNAME, MPFROMP(pci-> szFileName), MPVOID);657 PostMsg(hwnd, UM_FIXEDITNAME, MPFROMP(pci->pszFileName), MPVOID); 657 658 } 658 659 else if (pfi->offStruct == FIELDOFFSET(CNRITEM, pszSubject)) … … 673 674 HWND hwndMLE = WinWindowFromID(hwnd, CID_MLE); 674 675 675 if (pci && (INT) pci != -1 && !IsRoot(pci-> szFileName)) {676 if (pci && (INT) pci != -1 && !IsRoot(pci->pszFileName)) { 676 677 if (pfi && pfi->offStruct == FIELDOFFSET(CNRITEM, pszSubject)) { 677 678 … … 720 721 eaop.fpFEA2List = pfealist; 721 722 eaop.oError = 0L; 722 rc = DosSetPathInfo(pci-> szFileName,723 rc = DosSetPathInfo(pci->pszFileName, 723 724 FIL_QUERYEASIZE, 724 725 (PVOID) & eaop, sizeof(EAOP2), DSPI_WRTTHRU); … … 738 739 chop_at_crnl(longname); 739 740 WinSetWindowText(hwndMLE, longname); 740 return (MRESULT) WriteLongName(pci-> szFileName, longname);741 return (MRESULT) WriteLongName(pci->pszFileName, longname); 741 742 } 742 743 else { 743 744 WinQueryWindowText(hwndMLE, sizeof(szData), szData); 744 745 if (strchr(szData, '?') || 745 strchr(szData, '*') || IsRoot(pci-> szFileName))746 strchr(szData, '*') || IsRoot(pci->pszFileName)) 746 747 return (MRESULT) FALSE; 747 748 /* If the text changed, rename the file system object. */ … … 755 756 testname, sizeof(testname))) 756 757 return FALSE; 757 if (DosQueryPathInfo(pci-> szFileName,758 if (DosQueryPathInfo(pci->pszFileName, 758 759 FIL_QUERYFULLNAME, szData, sizeof(szData))) 759 strcpy(szData, pci-> szFileName);760 strcpy(szData, pci->pszFileName); 760 761 WinSetWindowText(hwndMLE, szData); 761 762 if (strcmp(szData, testname)) { … … 775 776 free(filename); 776 777 } 777 if (stricmp(testname, pci-> szFileName)) {778 if (stricmp(testname, pci->pszFileName)) { 778 779 PostMsg(hwnd, UM_FIXEDITNAME, MPFROMLONG(-1), MPFROMP(pci)); 779 filename = xstrdup(pci-> szFileName, pszSrcFile, __LINE__);780 filename = xstrdup(pci->pszFileName, pszSrcFile, __LINE__); 780 781 if (filename) { 781 782 if (!PostMsg(hwnd, … … 797 798 PCNRITEM pci = (PCNRITEM) ((PCNREDITDATA) mp2)->pRecord; 798 799 799 if (pci && (INT) pci != -1 && !IsRoot(pci-> szFileName)) {800 if (pci && (INT) pci != -1 && !IsRoot(pci->pszFileName)) { 800 801 WinSendMsg(hwnd, 801 802 CM_INVALIDATERECORD,
Note:
See TracChangeset
for help on using the changeset viewer.