]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxFileName to construct well-formed paths in GetMsgCatalogSubdirs() instead of...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Dec 2007 01:34:32 +0000 (01:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Dec 2007 01:34:32 +0000 (01:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index 3bc3f8b79f996130bf9e1d8b008f5b9743f8c781..b718973feaf0675c2a6bf3ec52b21ee9ce7d6465 100644 (file)
@@ -1036,8 +1036,7 @@ wxString GetMsgCatalogSubdirs(const wxString& prefix, const wxString& lang)
     //    breaking apps after they are recompiled against the latest wx
     // b) it makes it possible to package app's support files in the same
     //    way on all target platforms
-    wxString pathPrefix;
-    pathPrefix << prefix << wxFILE_SEP_PATH << lang;
+    const wxString pathPrefix = wxFileName(prefix, lang).GetFullPath();
 
     wxString searchPath;
     searchPath.reserve(4*pathPrefix.length());