mail[Wesnoth-commits] r33428 - /trunk/src/language.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by shadowm2006 on March 08, 2009 - 15:50:
Author: shadowmaster
Date: Sun Mar  8 15:50:09 2009
New Revision: 33428

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33428&view=rev
Log:
Fix a regression created by r33317 that undoes changes from r32211
that were supposed to fix bug #12872.

The fix is done now by passing an empty string as first argument to
get_binary_dir_location(). Silene may want to check whether this
defeats the purpose of r33317 or not...

Modified:
    trunk/src/language.cpp

Modified: trunk/src/language.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/language.cpp?rev=33428&r1=33427&r2=33428&view=diff
==============================================================================
--- trunk/src/language.cpp (original)
+++ trunk/src/language.cpp Sun Mar  8 15:50:09 2009
@@ -395,7 +395,7 @@
                if(path.empty()) {
                        t_string::add_textdomain(name, get_intl_dir());
                } else {
-                       std::string location = get_binary_dir_location(path, 
path);
+                       std::string location = get_binary_dir_location("", 
path);
 
                        if (location.empty()) {
                                //if location is empty, this causes a crash 
on Windows, so we




Related Messages


Powered by MHonArc, Updated Sun Mar 08 16:00:30 2009