Changeset 1104 for trunk/dll/cmdline.c


Ignore:
Timestamp:
Aug 2, 2008, 10:33:03 PM (17 years ago)
Author:
Gregg Young
Message:

Replace save_dir2(dir) with strcpy(dir, pFM2SaveDirectory)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/cmdline.c

    r1082 r1104  
    7676      MiniLoaded = TRUE;
    7777    BldFullPathName(pszCmdLine, pFM2SaveDirectory, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT");
    78     /*save_dir2(pszCmdLine);
    79     if (pszCmdLine[strlen(pszCmdLine) - 1] != '\\')
    80       strcat(pszCmdLine, "\\");
    81     strcat(pszCmdLine, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT");*/
    8278    fp = _fsopen(pszCmdLine, "r", SH_DENYWR);
    8379    if (fp) {
     
    133129    return;
    134130  BldFullPathName(pszCmdLine, pFM2SaveDirectory, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT");
    135   /*save_dir2(pszCmdLine);
    136   if (pszCmdLine[strlen(pszCmdLine) - 1] != '\\')
    137     strcat(pszCmdLine, "\\");
    138   strcat(pszCmdLine, (DoItYourself) ? "CMDLINES.DAT" : "CMDMINI.DAT");*/
    139131  if (CmdLineHead) {
    140132    fp = xfopen(pszCmdLine, "w", pszSrcFile, __LINE__);
Note: See TracChangeset for help on using the changeset viewer.