From: Gilles Depeyrot <gilles_depeyrot@mac.com>
Date: Sat, 26 Jan 2002 22:11:02 +0000 (+0000)
Subject: added missing return values
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f63fb56d5ee3bf21205d1c2038099caf63c19910

added missing return values


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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 )