X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ce0a6e2d67c73ef32534345a422c2782f7dc091..487c1f7ef2ad59cf8ed6d8aca317d20304ca27bd:/src/common/intl.cpp?ds=sidebyside diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 295cd6783a..84022468f4 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -308,8 +308,8 @@ bool wxMsgCatalog::Load(const wxChar *szDirPrefix, const wxChar *szName0) FIXME: UNICODE SUPPORT: must use CHARSET specifier! */ wxString szName = szName0; - if(szName.Find('.') != -1) // contains a dot - szName = szName.Left(szName.Find('.')); + if(szName.Find(wxT('.')) != -1) // contains a dot + szName = szName.Left(szName.Find(wxT('.'))); // FIXME VZ: I forgot the exact meaning of LC_PATH - anyone to remind me? // KB: search path where to find the mo files, probably : delimited