Changeset 1082 for trunk/dll/filter.c
- Timestamp:
- 07/20/08 00:37:36 (5 months ago)
- Files:
-
- 1 modified
-
trunk/dll/filter.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/filter.c
r1039 r1082 15 15 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 16 16 29 Feb 08 GKY Use xfree where appropriate 17 19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory and use BldFullPathName 17 18 18 19 ***********************************************************************/ … … 30 31 #include "errutil.h" // Dos_Error... 31 32 #include "strutil.h" // GetPString 33 #include "pathutil.h" // BldFullPathName 32 34 #include "fm3dll.h" 33 35 #include "fortify.h" … … 133 135 134 136 loadedmasks = TRUE; 135 save_dir2(s); 137 BldFullPathName(s, pFM2SaveDirectory, "FILTER.DAT"); 138 /*save_dir2(s); 136 139 if (s[strlen(s) - 1] != '\\') 137 140 strcat(s, "\\"); 138 strcat(s, "FILTERS.DAT"); 141 strcat(s, "FILTERS.DAT");*/ 139 142 fp = _fsopen(s, "r", SH_DENYWR); 140 143 if (fp) { … … 175 178 return; 176 179 if (maskhead) { 177 save_dir2(s); 180 BldFullPathName(s, pFM2SaveDirectory, "FILTER.DAT"); 181 /*save_dir2(s); 178 182 if (s[strlen(s) - 1] != '\\') 179 183 strcat(s, "\\"); 180 strcat(s, "FILTERS.DAT"); 184 strcat(s, "FILTERS.DAT");*/ 181 185 fp = xfopen(s, "w", pszSrcFile, __LINE__); 182 186 if (fp) {
