fix to wxLocale::GetString() calld with empty argument

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-12-27 23:24:02 +00:00
parent f258818045
commit c914e99ed5

View File

@ -1364,11 +1364,7 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString,
const wxChar *szDomain) const
{
if ( wxIsEmpty(szOrigString) )
#if wxUSE_UNICODE
return szDomain ? szDomain : wxT("");
#else // ANSI
return szDomain;
#endif
return _T("");
const char *pszTrans = NULL;
#if wxUSE_UNICODE