Changeset 1402 for trunk/dll/comp.c
- Timestamp:
- Mar 14, 2009, 6:17:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/comp.c
r1400 r1402 63 63 07 Feb 09 GKY Add *DateFormat functions to format dates based on locale 64 64 08 Mar 09 GKY Renamed commafmt.h i18nutil.h 65 08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used) 66 08 Mar 09 GKY Additional strings move to PCSZs in init.c & String Table 65 67 66 68 ***********************************************************************/ … … 524 526 switch (cmp->action) { 525 527 case IDM_DELETE: 526 if (!unlinkf( "%s",pciS->pszFileName)) {528 if (!unlinkf(pciS->pszFileName)) { 527 529 WinSendMsg(hwndCnrS, CM_SETRECORDEMPHASIS, MPFROMP(pciS), 528 530 MPFROM2SHORT(FALSE, CRA_SELECTED)); … … 582 584 MassMkdir(hwndMain, szDirName); 583 585 } 584 rc = docopyf(MOVE, pciS->pszFileName, "%s",szNewName);586 rc = docopyf(MOVE, pciS->pszFileName, szNewName); 585 587 if (fResetVerify) { 586 588 DosSetVerify(fVerify); … … 683 685 MassMkdir(hwndMain, szDirName); 684 686 } 685 rc = docopyf(COPY, pciS->pszFileName, "%s",szNewName);687 rc = docopyf(COPY, pciS->pszFileName, szNewName); 686 688 if (fResetVerify) { 687 689 DosSetVerify(fVerify); … … 1487 1489 HWND_DESKTOP, 1488 1490 GetPString(IDS_WARNINGTEXT), 1489 "One or more of your files has a full path name that exceeds the OS/2 maximum");1491 GetPString(IDS_LENGTHEXCEEDSMAXPATHTEXT)); 1490 1492 } 1491 1493 return; … … 1810 1812 MPFROMLONG(recsNeeded)); 1811 1813 if (!pcilFirst) { 1812 Win_Error(hwndLeft, cmp->hwnd, pszSrcFile, __LINE__, "CM_ALLOCRECORD %u failed", 1813 recsNeeded); 1814 Win_Error(hwndLeft, cmp->hwnd, pszSrcFile, __LINE__, PCSZ_CM_ALLOCRECORD); 1814 1815 recsNeeded = 0; 1815 1816 } … … 1820 1821 MPFROMLONG(recsNeeded)); 1821 1822 if (!pcirFirst) { 1822 Win_Error(hwndRight, cmp->hwnd, pszSrcFile, __LINE__, "CM_ALLOCRECORD %u failed", 1823 recsNeeded); 1823 Win_Error(hwndRight, cmp->hwnd, pszSrcFile, __LINE__, PCSZ_CM_ALLOCRECORD); 1824 1824 recsNeeded = 0; 1825 1825 FreeCnrItemList(hwndLeft, pcilFirst);
Note:
See TracChangeset
for help on using the changeset viewer.