Mercurial > hg > svcore
comparison plugin/DSSIPluginFactory.cpp @ 1221:a1b97df9962e 3.0-integration
Merge from branch msvc2015_64
author | Chris Cannam |
---|---|
date | Thu, 20 Oct 2016 11:16:22 +0100 |
parents | 6b847a59d908 |
children | 48e9f538e6e9 |
comparison
equal
deleted
inserted
replaced
1215:f50ded4b951c | 1221:a1b97df9962e |
---|---|
223 path.replace(f, 5, home); | 223 path.replace(f, 5, home); |
224 } | 224 } |
225 } | 225 } |
226 | 226 |
227 #ifdef _WIN32 | 227 #ifdef _WIN32 |
228 char *pfiles = getenv("ProgramFiles"); | 228 const char *pfiles = getenv("ProgramFiles"); |
229 if (!pfiles) pfiles = "C:\\Program Files"; | 229 if (!pfiles) pfiles = "C:\\Program Files"; |
230 { | 230 { |
231 std::string::size_type f; | 231 std::string::size_type f; |
232 while ((f = path.find("%ProgramFiles%")) != std::string::npos && | 232 while ((f = path.find("%ProgramFiles%")) != std::string::npos && |
233 f < path.length()) { | 233 f < path.length()) { |