Changeset 1082 for trunk/dll/cmdline.c
- Timestamp:
- Jul 20, 2008, 12:37:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/cmdline.c
r1039 r1082 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2004, 200 7Steven H.Levine9 Copyright (c) 2004, 2008 Steven H.Levine 10 10 11 11 01 Aug 04 SHL Rework lstrip/rstrip usage … … 18 18 29 Feb 08 GKY Use xfree where appropriate 19 19 20 Apr 08 GKY New variable names; Save and Load command lines of user set length 20 19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory and use BldFullPathName 20 21 21 22 ***********************************************************************/ … … 74 75 else 75 76 MiniLoaded = TRUE; 76 save_dir2(pszCmdLine); 77 BldFullPathName(pszCmdLine, pFM2SaveDirectory, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT"); 78 /*save_dir2(pszCmdLine); 77 79 if (pszCmdLine[strlen(pszCmdLine) - 1] != '\\') 78 80 strcat(pszCmdLine, "\\"); 79 strcat(pszCmdLine, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT"); 81 strcat(pszCmdLine, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT");*/ 80 82 fp = _fsopen(pszCmdLine, "r", SH_DENYWR); 81 83 if (fp) { … … 130 132 if (!pszCmdLine) 131 133 return; 132 save_dir2(pszCmdLine); 134 BldFullPathName(pszCmdLine, pFM2SaveDirectory, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT"); 135 /*save_dir2(pszCmdLine); 133 136 if (pszCmdLine[strlen(pszCmdLine) - 1] != '\\') 134 137 strcat(pszCmdLine, "\\"); 135 strcat(pszCmdLine, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT"); 138 strcat(pszCmdLine, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT");*/ 136 139 if (CmdLineHead) { 137 140 fp = xfopen(pszCmdLine, "w", pszSrcFile, __LINE__);
Note:
See TracChangeset
for help on using the changeset viewer.