]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing return values
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 26 Jan 2002 22:11:02 +0000 (22:11 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 26 Jan 2002 22:11:02 +0000 (22:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index ffffe53275f47ba31992c84db2102f12764da4f1..7dc9c0a1962302872c89978e80202f4313576a79 100644 (file)
@@ -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 )