X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6f4dbbd86b54c720bdeab1aea1fad5eb3f030e6..52069700e7f9c4cc1fc4379306e9f763c5b83073:/src/common/filefn.cpp?ds=inline diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 9ba4a565c0..62dfb206d2 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -951,9 +951,9 @@ wxConcatFiles (const wxString& file1, const wxString& file2, const wxString& fil FILE *fp2 = NULL; FILE *fp3 = NULL; // Open the inputs and outputs - if ((fp1 = wxFopen ( file1.fn_str(), wxT("rb"))) == NULL || - (fp2 = wxFopen ( file2.fn_str(), wxT("rb"))) == NULL || - (fp3 = wxFopen ( outfile.fn_str(), wxT("wb"))) == NULL) + if ((fp1 = wxFopen ( file1, wxT("rb"))) == NULL || + (fp2 = wxFopen ( file2, wxT("rb"))) == NULL || + (fp3 = wxFopen ( outfile, wxT("wb"))) == NULL) { if (fp1) fclose (fp1);