From 60d70da4b94a086bcb5bdfb8b213c73ce9339d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= Date: Tue, 19 Apr 2022 23:24:49 +0200 Subject: [PATCH] Make sure `exe_path` ends with a slash --- src/86box.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/86box.c b/src/86box.c index 4d59d9e13..a98a69993 100644 --- a/src/86box.c +++ b/src/86box.c @@ -424,6 +424,8 @@ pc_init(int argc, char *argv[]) } #endif + path_slash(exe_path); + /* * Get the current working directory. *