some fixes (removed all chdir)

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@153 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-24 16:42:43 +00:00
parent 37625747ee
commit fd1d4e1b32
6 changed files with 37 additions and 133 deletions

View File

@@ -11,6 +11,8 @@
#include "CLogFile.h"
#include <fstream>
#include "FindFile.h"
#include "Debug.h"
CLogFile::CLogFile() {}
@@ -109,6 +111,7 @@ void CLogFile::textOut(int Color, bool List, const char *Text)
void CLogFile::textOut(const char *Text)
{
notes << Text << endl;
fprintf(m_Logfile,"%s",Text);
fflush(m_Logfile);
}