Changeset 730 for trunk/dll/systemf.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/systemf.c

    r632 r730  
    353353                                      MPFROMLONG(CMA_FIRST),
    354354                                      MPFROMSHORT(CRA_CURSORED));
    355           if (pci && (int) pci != -1 && *pci -> szFileName) {
    356             if (needs_quoting(pci -> szFileName) &&
    357                 !strchr(pci -> szFileName, '\"'))
     355          if (pci && (int) pci != -1 && *pci->pszFileName) {
     356            if (needs_quoting(pci->pszFileName) &&
     357                !strchr(pci->pszFileName, '\"'))
    358358            {
    359359              *pp = '\"';
     
    363363            else
    364364              spaces = FALSE;
    365             strcpy(pp, pci -> szFileName);
    366             pp += strlen(pci -> szFileName);
     365            strcpy(pp, pci->pszFileName);
     366            pp += strlen(pci->pszFileName);
    367367            if (spaces) {
    368368              *pp = '\"';
Note: See TracChangeset for help on using the changeset viewer.