Browse Source

fix typo

master
Odilitime 5 years ago
parent
commit
0c82456c22
  1. 2
      src/environment/Path.cpp

2
src/environment/Path.cpp

@ -15,7 +15,7 @@ std::string Path::fromUnixPath(const std::string &path) { @@ -15,7 +15,7 @@ std::string Path::fromUnixPath(const std::string &path) {
std::string returnPath(path);
#ifdef _WIN32
for (int i = 0; i < path.size(); i++)
if (path.at(i) == '/') path.at(i) = '\\';
if (path.at(i) == '/') returnPath.at(i) = '\\';
#endif
return returnPath;
}

Loading…
Cancel
Save