Changeset 1498 for trunk/dll/collect.c
- Timestamp:
- Jan 18, 2010, 1:57:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/collect.c
r1497 r1498 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2003, 20 09Steven H. Levine9 Copyright (c) 2003, 2010 Steven H. Levine 10 10 11 11 15 Oct 02 MK Baseline … … 70 70 13 Jul 09 GKY Fixed double free of memory buffer in UM_COLLECTFROMFILE 71 71 15 Sep 09 SHL Use UM_GREP when passing pathname 72 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 72 73 73 74 ***********************************************************************/ … … 653 654 if (!hwndStatus) { 654 655 WinSetWindowText(WinWindowFromID(dcd->hwndClient, DIR_SELECTED), 655 GetPString(IDS_COLLECTINGTEXT));656 (CHAR *) GetPString(IDS_COLLECTINGTEXT)); 656 657 } 657 658 else { 658 659 if (WinQueryFocus(HWND_DESKTOP) == dcd->hwndCnr) 659 WinSetWindowText(hwndStatus, GetPString(IDS_COLLECTINGTEXT));660 WinSetWindowText(hwndStatus, (CHAR *) GetPString(IDS_COLLECTINGTEXT)); 660 661 } 661 662 … … 1266 1267 } 1267 1268 if (dcd->amextracted) 1268 WinSetWindowText(hwndStatus2, GetPString(IDS_INSEEKSCANTEXT)); // Say working1269 WinSetWindowText(hwndStatus2, (CHAR *) GetPString(IDS_INSEEKSCANTEXT)); // Say working 1269 1270 WinSendMsg(hwnd, UM_RESCAN, MPVOID, MPVOID); 1270 1271 } … … 1369 1370 } 1370 1371 if (dcd->amextracted && hwndStatus2 && !fStatus2Used) 1371 WinSetWindowText(hwndStatus2, GetPString(IDS_INSEEKSCANTEXT)); // Say working1372 WinSetWindowText(hwndStatus2, (CHAR *) GetPString(IDS_INSEEKSCANTEXT)); // Say working 1372 1373 } 1373 1374 else { 1374 1375 if (hwndStatus2) { 1375 1376 if (dcd->amextracted) 1376 WinSetWindowText(hwndStatus2, GetPString(IDS_INSEEKSCANTEXT)); // Say working1377 WinSetWindowText(hwndStatus2, (CHAR *) GetPString(IDS_INSEEKSCANTEXT)); // Say working 1377 1378 else 1378 1379 WinSetWindowText(hwndStatus2, NullStr); … … 2475 2476 0); /* Index to DRAGITEM */ 2476 2477 if (DrgVerifyRMF(pDItem, /* Check valid rendering */ 2477 DRM_OS2FILE, /* mechanisms and data */2478 (CHAR *) DRM_OS2FILE, /* mechanisms and data */ 2478 2479 NULL)) { 2479 2480 DrgFreeDraginfo(pDInfo); /* Free DRAGINFO */ … … 2510 2511 if (hwndStatus2) 2511 2512 WinSetWindowText(hwndStatus2, 2512 GetPString(IDS_DRAGFILEOBJTEXT));2513 (CHAR *) GetPString(IDS_DRAGFILEOBJTEXT)); 2513 2514 if (DoFileDrag(hwnd, dcd->hwndObject, mp2, NULL, NULL, TRUE)) { 2514 2515 if ((fUnHilite && wasemphasized) || dcd->ulItemsToUnHilite) … … 2993 2994 WS_VISIBLE, 2994 2995 &FrameFlags, 2995 WC_COLLECTOR,2996 (CHAR *) WC_COLLECTOR, 2996 2997 NULL, 2997 2998 WS_VISIBLE | fwsAnimate, … … 3047 3048 Collector = dcd->hwndCnr; 3048 3049 WinSetWindowPtr(dcd->hwndCnr, QWL_USER, (PVOID) dcd); 3049 WinSetWindowText(hwndFrame, GetPString(IDS_COLLECTORTITLETEXT));3050 WinSetWindowText(hwndFrame, (CHAR *) GetPString(IDS_COLLECTORTITLETEXT)); 3050 3051 if (FrameFlags & FCF_MENU) { 3051 3052 PFNWP oldmenuproc;
Note:
See TracChangeset
for help on using the changeset viewer.