X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e612f101d324eb3a81f0e73f07594c1836b41545..d5f005cc9385455ceebdf2063aa7f421f70315d1:/utils/makegen/makegen.cpp diff --git a/utils/makegen/makegen.cpp b/utils/makegen/makegen.cpp index 5013ffdfde..d43572aadc 100644 --- a/utils/makegen/makegen.cpp +++ b/utils/makegen/makegen.cpp @@ -81,7 +81,9 @@ bool MakeGenApp::GenerateMakefile(const wxString& filename) return FALSE; } - wxFFile fileOut(m_outdir + filename, "w"); + wxString fileOutName; + fileOutName << m_outdir << _T('/') << filename; + wxFFile fileOut(fileOutName, "w"); if ( !fileOut.IsOpened() ) { wxLogError(_T("Makefile '%s' couldn't be generated."), filename.c_str()); @@ -90,7 +92,7 @@ bool MakeGenApp::GenerateMakefile(const wxString& filename) } wxLogVerbose(_T("Generating '%s' for '%s'..."), - (m_outdir + filename).c_str(), m_progname.c_str()); + fileOutName.c_str(), m_progname.c_str()); size_t count = fileIn.GetLineCount(); for ( size_t n = 0; n < count; n++ )