qt: Don't normalize paths on non-Windows

This commit is contained in:
Cacodemon345
2022-03-04 14:00:24 +06:00
parent 5e4cb50da0
commit d695ca3cc9
3 changed files with 4 additions and 4 deletions

View File

@@ -238,10 +238,12 @@ plat_path_abs(char *path)
void
plat_path_normalize(char* path)
{
#ifdef Q_OS_WINDOWS
while (*path++ != 0)
{
if (*path == '\\') *path = '/';
}
#endif
}
void