Normalize EXE path before ensuring a slash

Fixes exe_path ending up with two slashes at the end on Windows
This commit is contained in:
David Hrdlička
2025-08-24 21:37:17 +02:00
parent f153ad5877
commit 89d1a2406b

View File

@@ -755,6 +755,7 @@ pc_init(int argc, char *argv[])
path_get_dirname(exe_path, p);
#endif
path_normalize(exe_path);
path_slash(exe_path);
/*