Unicode compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-05-19 17:59:51 +00:00
parent af9083592b
commit e987a489c8
2 changed files with 8 additions and 8 deletions

View File

@@ -950,9 +950,9 @@ wxConcatFiles (const wxString& file1, const wxString& file2, const wxString& fil
FILE *fp2 = (FILE *) NULL;
FILE *fp3 = (FILE *) NULL;
// Open the inputs and outputs
if ((fp1 = fopen (OS_FILENAME( file1 ), "rb")) == NULL ||
(fp2 = fopen (OS_FILENAME( file2 ), "rb")) == NULL ||
(fp3 = fopen (OS_FILENAME( outfile ), "wb")) == NULL)
if ((fp1 = wxFopen (OS_FILENAME( file1 ), wxT("rb"))) == NULL ||
(fp2 = wxFopen (OS_FILENAME( file2 ), wxT("rb"))) == NULL ||
(fp3 = wxFopen (OS_FILENAME( outfile ), wxT("wb"))) == NULL)
{
if (fp1)
fclose (fp1);