Changeset 730 for trunk/dll/mainwnd.c


Ignore:
Timestamp:
Jul 22, 2007, 7:57:09 PM (18 years ago)
Author:
Gregg Young
Message:

Preliminary work on variable sized container buffers. Removes szFileName etc. Builds fine but traps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd.c

    r690 r730  
    328328      }
    329329      if (pci && (INT) pci != -1) {
    330         strcpy(ret, pci->szFileName);
     330        strcpy(ret, pci->pszFileName);
    331331        MakeValidDir(ret);
    332332      }
     
    40754075                   MPFROMSHORT(CRA_CURSORED));
    40764076      if (pci && (INT) pci != -1) {
    4077         strcpy(wa.szCurrentPath1, pci->szFileName);
     4077        strcpy(wa.szCurrentPath1, pci->pszFileName);
    40784078        MakeValidDir(wa.szCurrentPath1);
    40794079      }
     
    44874487                                    MPFROMSHORT(CRA_CURSORED));
    44884488      if (pci && (INT) pci != -1) {
    4489         strcpy(path, pci->szFileName);
     4489        strcpy(path, pci->pszFileName);
    44904490        MakeValidDir(path);
    44914491      }
     
    45534553                                        MPFROMSHORT(CRA_CURSORED));
    45544554            if (pci && (INT) pci != -1 &&
    4555                 (!(driveflags[toupper(*pci->szFileName) - 'A'] & DRIVE_SLOW)))
     4555                (!(driveflags[toupper(*pci->pszFileName) - 'A'] & DRIVE_SLOW)))
    45564556              WinSendMsg(hwnd,
    45574557                         UM_LOADFILE,
    4558                          MPFROMP(pci->szFileName),
     4558                         MPFROMP(pci->pszFileName),
    45594559                         (SHORT1FROMMP(mp1) == IDM_AUTOVIEW) ?
    45604560                         MPVOID : MPFROMLONG(1L));
Note: See TracChangeset for help on using the changeset viewer.