Changeset 107


Ignore:
Timestamp:
2/29/2008 12:57:56 PM (6 years ago)
Author:
lowjoel
Message:

Fixed Schedlog.txt appearing everywhere!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EraserDoc.cpp

    r67 r107  
    674674 
    675675    BOOL bResult = FALSE; 
    676     CString strDate, strPath; 
    677  
     676    CString strDate, strPath(m_strAppDataPath + szLogFile); 
    678677    CStdioFile sf; 
    679  
    680     strPath = m_strExePath + szLogFile; 
    681678 
    682679    if (sf.Open(strPath, CFile::modeReadWrite | CFile::modeCreate | CFile::modeNoTruncate | CFile::typeText)) 
     
    12011198 
    12021199    CFileStatus fs; 
    1203     CString strPath = m_strExePath + szLogFile; 
     1200    CString strPath = m_strAppDataPath + szLogFile; 
    12041201 
    12051202    if (CFile::GetStatus((LPCTSTR)strPath, fs)) 
Note: See TracChangeset for help on using the changeset viewer.