[ 1942756 ] wxImage:SaveFile() returns true instead of result of subcall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2072,8 +2072,7 @@ bool wxImage::SaveFile( const wxString& filename ) const
|
||||
wxImageHandler * pHandler = FindHandler(ext, -1);
|
||||
if (pHandler)
|
||||
{
|
||||
SaveFile(filename, pHandler->GetType());
|
||||
return true;
|
||||
return SaveFile(filename, pHandler->GetType());
|
||||
}
|
||||
|
||||
wxLogError(_("Can't save image to file '%s': unknown extension."), filename.c_str());
|
||||
|
Reference in New Issue
Block a user