Changeset 1375


Ignore:
Timestamp:
12/12/09 13:48:15 (5 years ago)
Author:
lowjoel
Message:

Convert all relative path names to full path names when enumerating files in a folder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser5/shared/FileHelper.cpp

    r1110 r1375  
    146146            strDirectory += "\\"; 
    147147        } 
     148 
     149        TCHAR szFullPath[_MAX_PATH]; 
     150        GetFullPathName(strDirectory, sizeof(szFullPath) / sizeof(szFullPath[0]), szFullPath, NULL); 
     151        strDirectory = szFullPath; 
    148152 
    149153        // add current folder to the beginning of the list 
Note: See TracChangeset for help on using the changeset viewer.