Don't return "false" when a pointer is needed.
Return NULL and not false from wxFileTranslationsLoader:: GetAvailableTranslations(). This is, of course, more correct and also fixes a compilation problem with Borland, see #12558. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1790,7 +1790,7 @@ wxMsgCatalog *wxResourceTranslationsLoader::LoadCatalog(const wxString& domain,
|
||||
resname,
|
||||
GetResourceType(),
|
||||
GetModule()) )
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
wxLogTrace(TRACE_I18N,
|
||||
"Using catalog from Windows resource \"%s\".", resname);
|
||||
|
Reference in New Issue
Block a user