Ignore:
Timestamp:
Oct 15, 2001, 11:17:25 PM (24 years ago)
Author:
umoeller
Message:

Misc updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dosh2.c

    r108 r110  
    22552255
    22562256    // get the PATH value
    2257     PSZ pszPath;
     2257    PCSZ pcszPathValue;
    22582258    if (!(arc = DosScanEnv((PSZ)pcszPath,
    2259                            &pszPath)))
     2259#if __cplusplus
     2260                           &pcszPathValue)))
     2261#else
     2262                           (PSZ*)&pcszPathValue)))
     2263#endif
    22602264    {
    22612265        // run thru the path components
    22622266        PSZ pszPathCopy;
    2263         if (pszPathCopy = strdup(pszPath))
     2267        if (pszPathCopy = strdup(pcszPathValue))
    22642268        {
    22652269            PSZ pszToken = strtok(pszPathCopy, ";");
    2266             while (pszToken)        // V0.9.12 (2001-05-03) [umoeller]
     2270            while (pszToken)
    22672271            {
    22682272                CHAR szFileMask[2*CCHMAXPATH];
Note: See TracChangeset for help on using the changeset viewer.