From: Vadim Zeitlin Date: Wed, 11 Apr 2001 15:03:27 +0000 (+0000) Subject: warning fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7a656506410789da1fe01caa296cca65ac1a1833 warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 293e8e787c..4cfc2036a1 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1003,7 +1003,7 @@ wxCopyFile (const wxString& file1, const wxString& file2, bool overwrite) // instead of our code if available // // NB: 3rd parameter is bFailIfExists i.e. the inverse of overwrite - return ::CopyFile(file1, file2, !overwrite); + return ::CopyFile(file1, file2, !overwrite) != 0; #else // !Win32 wxStructStat fbuf;