]> git.pld-linux.org Git - packages/wesnoth.git/blame - wesnoth-locale_dir.patch
- s/scons/cmake/ in rev. 1.108.2.16 commit description
[packages/wesnoth.git] / wesnoth-locale_dir.patch
CommitLineData
cb7ed658 1--- wesnoth-1.8/src/filesystem.cpp~ 2010-01-30 16:43:33.000000000 +0000
2+++ wesnoth-1.8/src/filesystem.cpp 2010-03-27 14:29:10.983114991 +0000
3@@ -288,22 +288,7 @@
4
5 std::string get_intl_dir()
6 {
7-#ifdef _WIN32
8- return get_cwd() + "/translations";
9-#else
10-
11-#ifdef USE_INTERNAL_DATA
12- return get_cwd() + "/" LOCALEDIR;
13-#endif
14-
15-#if HAS_RELATIVE_LOCALEDIR
16- std::string res = game_config::path + "/" LOCALEDIR;
17-#else
18- std::string res = LOCALEDIR;
19-#endif
20-
21- return res;
22-#endif
23+ return "/usr/share/locale";
24 }
25
26 std::string get_screenshot_dir()
This page took 0.464681 seconds and 4 git commands to generate.