Fixed a test in wxTranslations::GetString() to use UINT_MAX instead of -1.
See #12031. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1485,7 +1485,7 @@ const wxString& wxTranslations::GetString(const wxString& origString,
|
||||
TRACE_I18N,
|
||||
"string \"%s\"%s not found in %slocale '%s'.",
|
||||
origString,
|
||||
((long)n) != -1 ? wxString::Format("[%ld]", (long)n) : wxString(),
|
||||
n != UINT_MAX ? wxString::Format("[%ld]", (long)n) : wxString(),
|
||||
!domain.empty() ? wxString::Format("domain '%s' ", domain) : wxString(),
|
||||
m_lang
|
||||
);
|
||||
|
Reference in New Issue
Block a user