From 0deb68d81cd5ebbd24671702be940e1c871e43f2 Mon Sep 17 00:00:00 2001
From: PilzAdam <pilzadam@minetest.net>
Date: Thu, 2 May 2013 23:08:59 +0200
Subject: [PATCH] Use DIR_DELIM instead of / in file paths

---
 src/subgame.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/subgame.cpp b/src/subgame.cpp
index a17b16234..1bee630b2 100644
--- a/src/subgame.cpp
+++ b/src/subgame.cpp
@@ -101,9 +101,9 @@ SubgameSpec findSubgame(const std::string &id)
 	std::string menuoverlay_path;
 	std::string menuicon_path;
 #ifndef SERVER
-	menubackground_path = getImagePath(game_path + DIR_DELIM + "menu/background.png");
-	menuoverlay_path = getImagePath(game_path + DIR_DELIM + "menu/overlay.png");
-	menuicon_path = getImagePath(game_path + DIR_DELIM + "menu/icon.png");
+	menubackground_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "background.png");
+	menuoverlay_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "overlay.png");
+	menuicon_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "icon.png");
 #endif
 	return SubgameSpec(id, game_path, gamemod_path, mods_paths, game_name,
 			menubackground_path, menuoverlay_path, menuicon_path);
-- 
GitLab