Changeset 1498 for trunk/dll/grep.c
- Timestamp:
- Jan 18, 2010, 1:57:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/grep.c
r1471 r1498 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2001, 20 09Steven H. Levine9 Copyright (c) 2001, 2010 Steven H. Levine 10 10 11 11 12 Feb 03 SHL InsertGrepFile: standardize EA math … … 33 33 08 Mar 09 GKY Additional strings move to String Table 34 34 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code. 35 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 35 36 36 37 ***********************************************************************/ … … 312 313 // hwndStatus does not exist for applet 313 314 WinSetWindowText(hwndStatus ? hwndStatus : grep.hwndCurFile, 314 GetPString(grep.finddupes ? IDS_GREPDUPETEXT :315 (CHAR *) GetPString(grep.finddupes ? IDS_GREPDUPETEXT : 315 316 IDS_GREPSCANTEXT)); 316 317 … … 722 723 if (grep->sayfiles) { 723 724 if (!hwndStatus) 724 WinSetWindowText(grep->hwndCurFile, GetPString(IDS_GREPINSERTINGTEXT));725 WinSetWindowText(grep->hwndCurFile, (CHAR *) GetPString(IDS_GREPINSERTINGTEXT)); 725 726 else { 726 727 if (WinQueryFocus(HWND_DESKTOP) == grep->hwndFiles) 727 WinSetWindowText(hwndStatus, GetPString(IDS_GREPINSERTINGTEXT));728 WinSetWindowText(hwndStatus, (CHAR *) GetPString(IDS_GREPINSERTINGTEXT)); 728 729 } 729 730 } … … 1329 1330 if (x) { 1330 1331 if (!hwndStatus) 1331 WinSetWindowText(grep->hwndCurFile, GetPString(IDS_GREPDUPESORTINGTEXT));1332 WinSetWindowText(grep->hwndCurFile, (CHAR *) GetPString(IDS_GREPDUPESORTINGTEXT)); 1332 1333 else if (WinQueryFocus(HWND_DESKTOP) == grep->hwndFiles) 1333 WinSetWindowText(hwndStatus, GetPString(IDS_GREPDUPESORTINGTEXT));1334 WinSetWindowText(hwndStatus, (CHAR *) GetPString(IDS_GREPDUPESORTINGTEXT)); 1334 1335 // DosSleep(0); //26 Aug 07 GKY 1 // 07 Feb 08 SHL 1335 1336 grep->dupenames = xmalloc(sizeof(DUPES *) * (x + 1), pszSrcFile, __LINE__); … … 1365 1366 1366 1367 if (!hwndStatus) 1367 WinSetWindowText(grep->hwndCurFile, GetPString(IDS_GREPDUPECOMPARINGTEXT));1368 WinSetWindowText(grep->hwndCurFile, (CHAR *) GetPString(IDS_GREPDUPECOMPARINGTEXT)); 1368 1369 else if (WinQueryFocus(HWND_DESKTOP) == grep->hwndFiles) 1369 WinSetWindowText(hwndStatus, GetPString(IDS_GREPDUPECOMPARINGTEXT));1370 WinSetWindowText(hwndStatus, (CHAR *) GetPString(IDS_GREPDUPECOMPARINGTEXT)); 1370 1371 1371 1372 InitITimer(pitdSleep, 0); // Reset rate estimator … … 1523 1524 DosBeep(50, 100); 1524 1525 if (!hwndStatus) 1525 WinSetWindowText(grep->hwndCurFile, GetPString(IDS_GREPDUPECOMPARINGTEXT));1526 WinSetWindowText(grep->hwndCurFile, (CHAR *) GetPString(IDS_GREPDUPECOMPARINGTEXT)); 1526 1527 else if (WinQueryFocus(HWND_DESKTOP) == grep->hwndFiles) 1527 WinSetWindowText(hwndStatus, GetPString(IDS_GREPDUPECOMPARINGTEXT));1528 WinSetWindowText(hwndStatus, (CHAR *) GetPString(IDS_GREPDUPECOMPARINGTEXT)); 1528 1529 x = y = 0; 1529 1530 xfree(grep->dupenames, pszSrcFile, __LINE__);
Note:
See TracChangeset
for help on using the changeset viewer.