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:
@@ -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);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user