git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1723
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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;
// programmer
wxLogDebug
(
- _("Mailcap file %s, line %d: unknown "
- "field '%s' for the MIME type "
- "'%s' ignored."),
+ "Mailcap file %s, line %d: unknown "
+ "field '%s' for the MIME type "
+ "'%s' ignored.",
strFileName.c_str(),
nLine + 1,
curField.c_str(),