From 7aa733b31e265f79c7a4424ee0e5b8a10422dd76 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Sat, 13 Nov 1999 10:57:12 +0000 Subject: [PATCH] No, .mo files doesn't use Unicode, so use strcmp here, not wxStrcmp... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/intl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 1172719390..42e9ff74d4 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -423,7 +423,7 @@ const char *wxMsgCatalog::GetString(const char *szOrig) const if ( nStr == 0 ) return NULL; - if ( wxStrcmp(szOrig, StringAtOfs(m_pOrigTable, nStr - 1)) == 0 ) + if ( strcmp(szOrig, StringAtOfs(m_pOrigTable, nStr - 1)) == 0 ) return StringAtOfs(m_pTransTable, nStr - 1); if ( nIndex >= m_nHashSize - nIncr) @@ -438,7 +438,7 @@ const char *wxMsgCatalog::GetString(const char *szOrig) const current; while ( bottom < top ) { current = (bottom + top) / 2; - int res = wxStrcmp(szOrig, StringAtOfs(m_pOrigTable, current)); + int res = strcmp(szOrig, StringAtOfs(m_pOrigTable, current)); if ( res < 0 ) top = current; else if ( res > 0 ) -- 2.45.2