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:
Václav Slavík
2010-05-08 15:31:07 +00:00
parent 316bba0c72
commit 35a4807534

View File

@@ -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
);