X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84c188148d287017b052ea034e54ebce7d9993e6..1363811bb6338fb0dad6c16cfa47f46fb1eb3b99:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 46a21f8bad..aee8a90b39 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -479,7 +479,8 @@ wxLocale::~wxLocale() const char *wxLocale::GetString(const char *szOrigString, const char *szDomain) const { - wxASSERT( szOrigString != NULL ); // would be pretty silly + if ( IsEmpty(szOrigString) ) + return szDomain; const char *pszTrans = NULL;