more compilation fixes (tex2rtf now builds again)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-10-20 22:17:49 +00:00
parent 8677ac53d2
commit 4a5fc54878
5 changed files with 63 additions and 37 deletions

View File

@@ -1195,7 +1195,7 @@ bool XLPGo(void)
fclose(Subsubsections); Subsubsections = NULL;
fclose(Index); Index = NULL;
if (FileExists(ContentsName)) wxRemoveFile(ContentsName);
if (wxFileExists(ContentsName)) wxRemoveFile(ContentsName);
if (!wxRenameFile(TmpContentsName, ContentsName))
{