Changeset 1357
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/collect.c
r1335 r1357 57 57 less than 10 KiB (It hangs and can't be closed) 58 58 10 Dec 08 SHL Integrate exception handler support 59 26 Dec 08 GKY Fixed DROPHELP to check for copy as default is action is DO_DEFAULT 59 60 60 61 ***********************************************************************/ … … 2361 2362 numitems = DrgQueryDragitemCount(pDInfo); 2362 2363 usOperation = pDInfo->usOperation; 2364 if (usOperation == DO_DEFAULT) 2365 usOperation = fCopyDefault ? DO_COPY : DO_MOVE; 2363 2366 FreeDragInfoData(hwnd, pDInfo); 2364 2367 saymsg(MB_ENTER | MB_ICONASTERISK, -
trunk/dll/dircnrs.c
r1350 r1357 52 52 29 Nov 08 GKY Remove or replace with a mutex semaphore DosEnterCriSec where appropriate. 53 53 10 Dec 08 SHL Integrate exception handler support 54 26 Dec 08 GKY Fixed DROPHELP to check for copy as default is action is DO_DEFAULT 54 55 55 56 ***********************************************************************/ … … 2913 2914 else { 2914 2915 numitems = DrgQueryDragitemCount(pDInfo); 2915 usOperation = pDInfo->usOperation; 2916 usOperation = pDInfo->usOperation; 2917 if (usOperation == DO_DEFAULT) 2918 usOperation = fCopyDefault ? DO_COPY : DO_MOVE; 2916 2919 FreeDragInfoData(hwnd, pDInfo); 2917 2920 saymsg(MB_ENTER | MB_ICONASTERISK, … … 2925 2928 pci ? pci->pszFileName : NullStr, 2926 2929 pci ? " " : NullStr, 2927 GetPString((usOperation == DO_ COPY) ?2928 IDS_ COPYTEXT :2930 GetPString((usOperation == DO_MOVE) ? 2931 IDS_MOVETEXT : 2929 2932 (usOperation == DO_LINK) ? 2930 IDS_LINKTEXT : IDS_ MOVETEXT));2933 IDS_LINKTEXT : IDS_COPYTEXT)); 2931 2934 } 2932 2935 } -
trunk/dll/treecnr.c
r1354 r1357 52 52 28 Nov 08 GKY Remove unneeded DosEnterCriSec calls 53 53 10 Dec 08 SHL Integrate exception handler support 54 25 Dec 08 GKY Add code to allow write verify to be turned off on a per drive basis 55 26 Dec 08 GKY Implemented DROPHELP for the tree container 54 56 55 57 ***********************************************************************/ … … 1417 1419 DrgAccessDraginfo(pDInfo); 1418 1420 DrgFreeDraginfo(pDInfo); 1421 } 1422 return 0; 1423 1424 case CN_DROPHELP: 1425 if (mp2) { 1426 1427 PDRAGINFO pDInfo; 1428 PCNRITEM pci; 1429 ULONG numitems; 1430 USHORT usOperation; 1431 1432 pci = (PCNRITEM) ((PCNRDRAGINFO) mp2)->pRecord; 1433 pDInfo = (PDRAGINFO) ((PCNRDRAGINFO) mp2)->pDragInfo; 1434 if (!DrgAccessDraginfo(pDInfo)) { 1435 Win_Error(hwnd, hwnd, pszSrcFile, __LINE__, 1436 GetPString(IDS_DROPERRORTEXT)); 1437 } 1438 else { 1439 numitems = DrgQueryDragitemCount(pDInfo); 1440 usOperation = pDInfo->usOperation; 1441 if (usOperation == DO_DEFAULT) 1442 usOperation = fCopyDefault ? DO_COPY : DO_MOVE; 1443 FreeDragInfoData(hwnd, pDInfo); 1444 saymsg(MB_ENTER | MB_ICONASTERISK, 1445 hwnd, 1446 GetPString(IDS_DROPHELPHDRTEXT), 1447 GetPString(IDS_DROPHELPTEXT), 1448 numitems, 1449 &"s"[numitems == 1L], 1450 pci ? NullStr : GetPString(IDS_NOTEXT), 1451 pci ? NullStr : " ", 1452 pci ? pci->pszFileName : NullStr, 1453 pci ? " " : NullStr, 1454 GetPString((usOperation == DO_MOVE) ? 1455 IDS_MOVETEXT : 1456 (usOperation == DO_LINK) ? 1457 IDS_LINKTEXT : IDS_COPYTEXT)); 1458 } 1419 1459 } 1420 1460 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.
