X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58ad1bab8cea288c067e20181b8f9a13f327f913..659af826726fea66d2476d3a0ead2fb00e34ad23:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 9dfb288cd0..e068eeb93f 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -100,9 +100,6 @@ typedef wxUint32 size_t32; const size_t32 MSGCATALOG_MAGIC = 0x950412de; const size_t32 MSGCATALOG_MAGIC_SW = 0xde120495; -// extension of ".mo" files -#define MSGCATALOG_EXTENSION _T(".mo") - // the constants describing the format of lang_LANG locale string static const size_t LEN_LANG = 2; static const size_t LEN_SUBLANG = 2; @@ -1106,7 +1103,7 @@ bool wxMsgCatalogFile::Load(const wxChar *szDirPrefix, const wxChar *szName, szName, searchPath.c_str()); wxFileName fn(szName); - fn.SetExt(MSGCATALOG_EXTENSION); + fn.SetExt(_T("mo")); wxString strFullName; if ( !wxFindFileInPath(&strFullName, searchPath, fn.GetFullPath()) ) { wxLogVerbose(_("catalog file for domain '%s' not found."), szName);