X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6e9f05fa7b0d0cafd9e8f425db7eb1c118bc441..ac99a98ff0a859e84c2c3e668194341459cd1cd0:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 42e9ff74d4..1172719390 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 ( strcmp(szOrig, StringAtOfs(m_pOrigTable, nStr - 1)) == 0 ) + if ( wxStrcmp(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 = strcmp(szOrig, StringAtOfs(m_pOrigTable, current)); + int res = wxStrcmp(szOrig, StringAtOfs(m_pOrigTable, current)); if ( res < 0 ) top = current; else if ( res > 0 )