Changeset 1082 for trunk/dll/assoc.c
- Timestamp:
- Jul 20, 2008, 12:37:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/assoc.c
r1039 r1082 18 18 29 Feb 08 GKY Changes to enable user settable command line length 19 19 29 Feb 08 GKY Use xfree where appropriate 20 19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory and use BldFullPathName 20 21 21 22 **************************************************************************************/ … … 142 143 free_associations(); 143 144 assloaded = TRUE; 144 save_dir2(mask); 145 BldFullPathName(mask, pFM2SaveDirectory, "ASSOC.DAT"); 146 /*save_dir2(mask); 145 147 if (mask[strlen(mask) - 1] != '\\') 146 148 strcat(mask, "\\"); 147 strcat(mask, "ASSOC.DAT"); 149 strcat(mask, "ASSOC.DAT");*/ 148 150 fp = _fsopen(mask, "r", SH_DENYWR); 149 151 pszCmdLine = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); … … 267 269 } 268 270 #endif 269 save_dir2(s);271 /*save_dir2(s); 270 272 if (s[strlen(s) - 1] != '\\') 271 273 strcat(s, "\\"); 272 strcat(s, "ASSOC.DAT"); 274 strcat(s, "ASSOC.DAT");*/ 275 BldFullPathName(s, pFM2SaveDirectory, "ASSOC.DAT"); 273 276 fp = xfopen(s, "w", pszSrcFile, __LINE__); 274 277 if (fp) {
Note:
See TracChangeset
for help on using the changeset viewer.