Changeset 1104 for trunk/dll/command.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/command.c

    r1082 r1104  
    333333  if (pszCmdLine) {
    334334    BldFullPathName(pszCmdLine, pFM2SaveDirectory, "COMMANDS.DAT");
    335     /*save_dir2(pszCmdLine);
    336     if (pszCmdLine[strlen(pszCmdLine) - 1] != '\\')
    337       strcat(pszCmdLine, "\\");
    338     strcat(pszCmdLine, "COMMANDS.DAT");*/
    339335    fp = _fsopen(pszCmdLine, "r", SH_DENYWR);
    340336    if (fp) {
     
    402398  info = cmdhead;
    403399  BldFullPathName(s, pFM2SaveDirectory, "COMMANDS.DAT");
    404   /*save_dir2(s);
    405   if (s[strlen(s) - 1] != '\\')
    406     strcat(s, "\\");
    407   strcat(s, "COMMANDS.DAT");*/
    408400  fp = xfopen(s, "w", pszSrcFile, __LINE__);
    409401  if (fp) {
Note: See TracChangeset for help on using the changeset viewer.