X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dfbcdd53d414c34498a84d1ac84cb7e1e74ef71..a28ae4096bb21302ce2ad59ca846ce590f8488bf:/src/common/filename.cpp diff --git a/src/common/filename.cpp b/src/common/filename.cpp index ffffe53275..7dc9c0a196 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -1742,8 +1742,9 @@ bool wxFileName::MacSetDefaultTypeAndCreator() if ( wxFileName::MacFindDefaultTypeAndCreator(GetExt() , &type , &creator ) ) { - MacSetTypeAndCreator( type , creator ) ; - } + return MacSetTypeAndCreator( type , creator ) ; + } + return false; } bool wxFileName::MacFindDefaultTypeAndCreator( const wxString& ext , wxUint32 *type , wxUint32 *creator )