]> git.pld-linux.org Git - packages/wesnoth.git/commitdiff
- resurected and updated for 1.8
authorlisu <lisu@pld-linux.org>
Sat, 27 Mar 2010 13:54:04 +0000 (13:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wesnoth-locale_dir.patch -> 1.3

wesnoth-locale_dir.patch [new file with mode: 0644]

diff --git a/wesnoth-locale_dir.patch b/wesnoth-locale_dir.patch
new file mode 100644 (file)
index 0000000..f4eb868
--- /dev/null
@@ -0,0 +1,26 @@
+--- wesnoth-1.8/src/filesystem.cpp~    2010-01-30 16:43:33.000000000 +0000
++++ wesnoth-1.8/src/filesystem.cpp     2010-03-27 14:29:10.983114991 +0000
+@@ -288,22 +288,7 @@
+ std::string get_intl_dir()
+ {
+-#ifdef _WIN32
+-      return get_cwd() + "/translations";
+-#else
+-
+-#ifdef USE_INTERNAL_DATA
+-      return get_cwd() + "/" LOCALEDIR;
+-#endif
+-
+-#if HAS_RELATIVE_LOCALEDIR
+-      std::string res = game_config::path + "/" LOCALEDIR;
+-#else
+-      std::string res = LOCALEDIR;
+-#endif
+-
+-      return res;
+-#endif
++      return "/usr/share/locale";
+ }
+ std::string get_screenshot_dir()
This page took 0.047129 seconds and 4 git commands to generate.