Changeset 1082 for trunk/dll/remap.c
- Timestamp:
- Jul 20, 2008, 12:37:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/remap.c
r1039 r1082 5 5 6 6 Copyright (c) 1993, 1998 M. Kimes 7 Copyright (c) 2004, 200 6Steven H.Levine7 Copyright (c) 2004, 2008 Steven H.Levine 8 8 9 9 01 Aug 04 SHL Rework lstrip/rstrip usage … … 14 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 15 29 Feb 08 GKY Use xfree where appropriate 16 19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory and use BldFullPathName 16 17 17 18 ***********************************************************************/ … … 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" … … 71 73 72 74 loadedres = TRUE; 73 save_dir2(s); 75 BldFullPathName(s, pFM2SaveDirectory, "RESOURCE.DAT"); 76 /*save_dir2(s); 74 77 if (s[strlen(s) - 1] != '\\') 75 78 strcat(s, "\\"); 76 strcat(s, "RESOURCE.DAT"); 79 strcat(s, "RESOURCE.DAT");*/ 77 80 fp = _fsopen(s, "r", SH_DENYWR); 78 81 if (fp) { … … 112 115 if (!loadedres) 113 116 return; 114 save_dir2(s); 117 BldFullPathName(s, pFM2SaveDirectory, "RESOURCE.DAT"); 118 /*save_dir2(s); 115 119 if (s[strlen(s) - 1] != '\\') 116 120 strcat(s, "\\"); 117 strcat(s, "RESOURCE.DAT"); 121 strcat(s, "RESOURCE.DAT");*/ 118 122 if (reshead) { 119 123 fp = xfopen(s, "w", pszSrcFile, __LINE__);
Note:
See TracChangeset
for help on using the changeset viewer.