From 256d6b81c5c5e31478190addeac86e5fb9e3e5cf Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 31 Oct 2007 23:05:53 +0000 Subject: [PATCH] Patch from Niki Spahiev: Treat empty domain name the same as NULL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/intl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 5165f10c22..2f7b0f5132 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -2609,7 +2609,7 @@ const wxChar *wxLocale::GetString(const wxChar *szOrigString, const wxChar *pszTrans = NULL; wxMsgCatalog *pMsgCat; - if ( szDomain != NULL ) + if ( szDomain != NULL && szDomain[0] ) { pMsgCat = FindCatalog(szDomain);