summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/include/boost/process/windows
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2013-02-04 16:43:34 +0000
committerAlexander Gluzsky <sss123next@list.ru>2013-02-04 16:43:34 +0000
commit6a3159197f21b14c2f74584bcbd0d63266b5db47 (patch)
treee75e6e9ca1cbd9c5839f0af5d1b542216279cf6e /plugins/New_GPG/src/include/boost/process/windows
parentc32c268ada5d7e265a6f1085cc3e87589f4c1d4a (diff)
cleanup
usgin older boost api for backward compatibility git-svn-id: http://svn.miranda-ng.org/main/trunk@3424 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/include/boost/process/windows')
-rwxr-xr-x[-rw-r--r--]plugins/New_GPG/src/include/boost/process/windows/search_path.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/New_GPG/src/include/boost/process/windows/search_path.hpp b/plugins/New_GPG/src/include/boost/process/windows/search_path.hpp
index 62bb5f2745..ceb9c6f7c2 100644..100755
--- a/plugins/New_GPG/src/include/boost/process/windows/search_path.hpp
+++ b/plugins/New_GPG/src/include/boost/process/windows/search_path.hpp
@@ -42,13 +42,13 @@ inline std::wstring search_path(const std::wstring &filename,
{
boost::filesystem::path p = *it;
p /= filename;
- boost::array<std::wstring, 4> extensions =
- { L"", L".exe", L".com", L".bat" };
- for (boost::array<std::wstring, 4>::iterator it2 = extensions.begin();
+ boost::array<std::string, 4> extensions =
+ { "", ".exe", ".com", ".bat" };
+ for (boost::array<std::string, 4>::iterator it2 = extensions.begin();
it2 != extensions.end(); ++it2)
{
boost::filesystem::path p2 = p;
- p2 += *it2;
+ p2 /= (std::string)*it2;
boost::system::error_code ec;
bool file = boost::filesystem::is_regular_file(p2, ec);
if (!ec && file &&