mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 02:18:20 -07:00
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