Switch to side-by-side view
--- a/src/utils/pathut.cpp +++ b/src/utils/pathut.cpp @@ -66,6 +66,14 @@ for (string::size_type i = 0; i < s.size(); i++) { if (s[i] == '\\') { s[i] = '/'; + } + } +} +void path_backslashize(string& s) +{ + for (string::size_type i = 0; i < s.size(); i++) { + if (s[i] == '/') { + s[i] = '\\'; } } }