X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68c97af3c39f294259ae5e16633f573ca729bfa1..6363699a2849533e011a1757b46b33ecf1a54e57:/src/common/textfile.cpp diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index 26053922cd..5f4dd6a268 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -177,7 +177,7 @@ bool wxTextFile::OnWrite(wxTextFileType typeNew, wxMBConv& conv) if ( !fn.IsAbsolute() ) fn.Normalize(); - wxTempFile fileTmp(fn.GetFullName()); + wxTempFile fileTmp(fn.GetFullPath()); if ( !fileTmp.IsOpened() ) { wxLogError(_("can't write buffer '%s' to disk."), m_strBufferName.c_str());