From 89d1a2406b8e814b003d66387f6faddc38bae992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= <13226155+dhrdlicka@users.noreply.github.com> Date: Sun, 24 Aug 2025 21:37:17 +0200 Subject: [PATCH] Normalize EXE path before ensuring a slash Fixes exe_path ending up with two slashes at the end on Windows --- src/86box.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/86box.c b/src/86box.c index a5344f7e9..498c86871 100644 --- a/src/86box.c +++ b/src/86box.c @@ -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); /*