Changeset 1394 for trunk/dll/collect.c
- Timestamp:
- Feb 5, 2009, 5:17:25 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/dll/collect.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/collect.c
r1375 r1394 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2003, 200 8Steven H. Levine9 Copyright (c) 2003, 2009 Steven H. Levine 10 10 11 11 15 Oct 02 MK Baseline … … 292 292 { 293 293 USHORT id = WinQueryWindowUShort(hwnd, QWS_ID); 294 char *s = NULL;294 PCSZ s = NULL; 295 295 296 296 if (fOtherHelp) { … … 1384 1384 MPVOID, MPFROM2SHORT(0, CMA_ERASE | CMA_REPOSITION)); 1385 1385 disable_menuitem(WinWindowFromID(WinQueryWindow(hwndMain, QW_PARENT), 1386 FID_MENU), IDM_GREP, FALSE);1386 FID_MENU), IDM_GREP, FALSE); 1387 1387 disable_menuitem(TreeMenu, IDM_GREP, FALSE); 1388 1388 disable_menuitem(DirMenu, IDM_GREP, FALSE); … … 1938 1938 "Collector busy - please try again later"); 1939 1939 } 1940 else {1941 GREPINFO *GrepInfo;1942 1943 GrepInfo = xmallocz(sizeof(GREPINFO), pszSrcFile, __LINE__);1944 if (GrepInfo) {1945 GrepInfo->hwnd = &hwnd;1946 if (mp2)1947 GrepInfo->szGrepPath = mp2;1948 if (WinDlgBox(HWND_DESKTOP, hwnd, GrepDlgProc,1949 FM3ModHandle, GREP_FRAME, (PVOID) GrepInfo)) {1950 free(GrepInfo);1951 dcd->amextracted = TRUE; // Say busy scanning1952 disable_menuitem(WinWindowFromID1953 (WinQueryWindow(hwndMain, QW_PARENT), FID_MENU),1954 IDM_GREP, TRUE);1955 disable_menuitem(TreeMenu, IDM_GREP, TRUE);1956 disable_menuitem(DirMenu, IDM_GREP, TRUE);1957 PostMsg(hwnd, UM_RESCAN, MPVOID, MPVOID);1958 }1959 else1960 free(GrepInfo);1940 else { 1941 GREPINFO *GrepInfo; 1942 1943 GrepInfo = xmallocz(sizeof(GREPINFO), pszSrcFile, __LINE__); 1944 if (GrepInfo) { 1945 GrepInfo->hwnd = &hwnd; 1946 if (mp2) 1947 GrepInfo->szGrepPath = mp2; 1948 if (WinDlgBox(HWND_DESKTOP, hwnd, GrepDlgProc, 1949 FM3ModHandle, GREP_FRAME, (PVOID) GrepInfo)) { 1950 free(GrepInfo); 1951 dcd->amextracted = TRUE; // Say busy scanning 1952 disable_menuitem(WinWindowFromID 1953 (WinQueryWindow(hwndMain, QW_PARENT), FID_MENU), 1954 IDM_GREP, TRUE); 1955 disable_menuitem(TreeMenu, IDM_GREP, TRUE); 1956 disable_menuitem(DirMenu, IDM_GREP, TRUE); 1957 PostMsg(hwnd, UM_RESCAN, MPVOID, MPVOID); 1958 } 1959 else 1960 free(GrepInfo); 1961 1961 } 1962 1962 } … … 2378 2378 numitems = DrgQueryDragitemCount(pDInfo); 2379 2379 usOperation = pDInfo->usOperation; 2380 if (usOperation == DO_DEFAULT)2381 usOperation = fCopyDefault ? DO_COPY : DO_MOVE;2380 if (usOperation == DO_DEFAULT) 2381 usOperation = fCopyDefault ? DO_COPY : DO_MOVE; 2382 2382 FreeDragInfoData(hwnd, pDInfo); 2383 2383 saymsg(MB_ENTER | MB_ICONASTERISK, … … 2905 2905 IDM_REMOVE, 2906 2906 0}; 2907 char *szHelpString = NULL;2907 PCSZ szHelpString = NULL; 2908 2908 2909 2909
Note:
See TracChangeset
for help on using the changeset viewer.
