Changeset 1082 for trunk/dll/grep2.c
- Timestamp:
- Jul 20, 2008, 12:37:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/grep2.c
r1063 r1082 20 20 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 21 21 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 22 19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory and use BldFullPathName 22 23 23 24 fixme for more excess locals to be gone … … 42 43 #include "errutil.h" // Dos_Error... 43 44 #include "strutil.h" // GetPString 45 #include "pathutil.h" // BldFullPathName 44 46 #include "fm3dll.h" 45 47 #include "fortify.h" … … 268 270 WinEnableWindow(WinWindowFromID(hwnd, GREP_NOSIZEDUPES), FALSE); 269 271 270 save_dir2(s); 272 BldFullPathName(s, pFM2SaveDirectory, "GREPMASK.DAT"); 273 /*save_dir2(s); 271 274 if (s[strlen(s) - 1] != '\\') 272 275 strcat(s, "\\"); 273 strcat(s, "GREPMASK.DAT"); 276 strcat(s, "GREPMASK.DAT");*/ 274 277 fp = _fsopen(s, "r", SH_DENYWR); 275 278 if (fp) { … … 947 950 LM_QUERYITEMCOUNT, 948 951 MPVOID, MPVOID); 949 if (sSelect > 0) { 950 save_dir2(s); 952 if (sSelect > 0) { 953 BldFullPathName(s, pFM2SaveDirectory, "GREPMASK.DAT"); 954 /*save_dir2(s); 951 955 if (s[strlen(s) - 1] != '\\') 952 956 strcat(s, "\\"); 953 strcat(s, "GREPMASK.DAT"); 957 strcat(s, "GREPMASK.DAT");*/ 954 958 fp = xfopen(s, "w", pszSrcFile, __LINE__); 955 959 if (fp) {
Note:
See TracChangeset
for help on using the changeset viewer.