aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-05-02 23:08:59 +0200
committerPilzAdam <pilzadam@minetest.net>2013-05-02 23:08:59 +0200
commit0deb68d81cd5ebbd24671702be940e1c871e43f2 (patch)
tree3eb161dc5d9e3e767ef1bb4155b3c282cd2649e6
parentb75505e6b2b82d48980ff71649dd4944b04b6f78 (diff)
downloadminetest-0deb68d81cd5ebbd24671702be940e1c871e43f2.tar.gz
minetest-0deb68d81cd5ebbd24671702be940e1c871e43f2.tar.bz2
minetest-0deb68d81cd5ebbd24671702be940e1c871e43f2.zip
Use DIR_DELIM instead of / in file paths
-rw-r--r--src/subgame.cpp6
1 files 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);