Changeset 1082 for trunk/dll/tools.c
- Timestamp:
- Jul 20, 2008, 12:37:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/tools.c
r1079 r1082 18 18 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 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 ***********************************************************************/ … … 34 35 #include "errutil.h" // Dos_Error... 35 36 #include "strutil.h" // GetPString 37 #include "pathutil.h" // BldFullPathName 36 38 #include "fortify.h" 37 39 #include "fm3dll.h" … … 60 62 return; 61 63 } 62 save_dir2(s); 64 BldFullPathName(s, pFM2SaveDirectory, "QUICKTLS.DAT"); 65 /*save_dir2(s); 63 66 if (s[strlen(s) - 1] != '\\') 64 67 strcat(s, "\\"); 65 strcat(s, "QUICKTLS.DAT"); 68 strcat(s, "QUICKTLS.DAT");*/ 66 69 fp = _fsopen(s, "r", SH_DENYWR); 67 70 if (fp) { … … 93 96 if (!quicktool[0]) 94 97 return; 95 save_dir2(s); 98 BldFullPathName(s, pFM2SaveDirectory, "QUICKTLS.DAT"); 99 /*save_dir2(s); 96 100 if (s[strlen(s) - 1] != '\\') 97 101 strcat(s, "\\"); 98 strcat(s, "QUICKTLS.DAT"); 102 strcat(s, "QUICKTLS.DAT");*/ 99 103 fp = xfopen(s, "w", pszSrcFile, __LINE__); 100 104 if (fp) {
Note:
See TracChangeset
for help on using the changeset viewer.