From c914e99ed52d2899c70f783e8ffb54d75efae213 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 27 Dec 2001 23:24:02 +0000 Subject: [PATCH] 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 --- src/common/intl.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 83fac1f03b..7d1b0d14cf 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -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