65
std::string FixWindowsPath(const char *in)
65
std::string FixWindowsPath(std::string in)
67
67
#if defined(__CYGWIN__)
69
cygwin_conv_to_win32_path(in, tmp);
69
cygwin_conv_to_win32_path(in.c_str(), tmp);
70
70
return std::string(tmp);
72
return std::string(in);
118
void ReplaceMultiFormat(const char *in, const char *val, char *out)
118
std::string ReplacePercentS(std::string in, std::string val)
120
unsigned int i = 0, j = 0;
123
while(i < strlen(in)){
124
if(in[i] == '%' && i != strlen(in) - 1){
125
if(in[i + 1] == 's'){
131
Msg::Warning("Skipping unknown format '%%%c' in '%s'", in[i + 1], in);
121
for(unsigned int i = 0; i < in.size(); i++){
122
if(in[i] == '%' && i + 1 < in.size() && in[i + 1] == 's'){