From 12f6edffd495f1f4f1ba77c629abcb97b08b6da6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 13 Oct 2010 22:10:28 +0000 Subject: [PATCH] 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 --- src/common/translation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/translation.cpp b/src/common/translation.cpp index ee4328a72c..90f02759fc 100644 --- a/src/common/translation.cpp +++ b/src/common/translation.cpp @@ -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); -- 2.47.2