Skip to content
Snippets Groups Projects
Commit 9cbc1ea9 authored by Francois Henrotte's avatar Francois Henrotte
Browse files

correction of FixWindowsQuotes

parent 38c8e4fa
No related branches found
No related tags found
No related merge requests found
...@@ -855,7 +855,7 @@ void EncapsulatedClient::convert() { ...@@ -855,7 +855,7 @@ void EncapsulatedClient::convert() {
} }
std::string EncapsulatedClient::buildCommandLine(){ std::string EncapsulatedClient::buildCommandLine(){
return FixWindowsQuote(OLMsg::GetLoaderName()); return FixWindowsQuotes(OLMsg::GetLoaderName());
} }
void EncapsulatedClient::compute(){ void EncapsulatedClient::compute(){
...@@ -1159,7 +1159,7 @@ std::string sanitize(const std::string &in) ...@@ -1159,7 +1159,7 @@ std::string sanitize(const std::string &in)
return out; return out;
} }
std::string FixWindowQuotes(const std::string &in) std::string FixWindowsQuotes(const std::string &in)
{ {
#if defined(WIN32) #if defined(WIN32)
return "\"" + in + "\""; return "\"" + in + "\"";
......
...@@ -39,7 +39,7 @@ std::string getUserHomedir(); ...@@ -39,7 +39,7 @@ std::string getUserHomedir();
std::string sanitize(const std::string &in); std::string sanitize(const std::string &in);
std::string removeBlanks(const std::string &in); std::string removeBlanks(const std::string &in);
bool isPath(const std::string &in); bool isPath(const std::string &in);
std::string FixWindowQuotes(const std::string &in); std::string FixWindowsQuotes(const std::string &in);
std::string unquote(const std::string &in); std::string unquote(const std::string &in);
// Parser TOOLS // Parser TOOLS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment