mail[Wesnoth-commits] r33315 - /trunk/src/filesystem.cpp


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

Header


Content

Posted by guillaume . melquiond on March 03, 2009 - 18:44:
Author: silene
Date: Tue Mar  3 18:44:34 2009
New Revision: 33315

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33315&view=rev
Log:
Removed relative path when searching binary paths.

Modified:
    trunk/src/filesystem.cpp

Modified: trunk/src/filesystem.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/filesystem.cpp?rev=33315&r1=33314&r2=33315&view=diff
==============================================================================
--- trunk/src/filesystem.cpp (original)
+++ trunk/src/filesystem.cpp Tue Mar  3 18:44:34 2009
@@ -962,8 +962,6 @@
                if(!game_config::path.empty()) {
                        res.push_back(game_config::path + "/" + *i + type + 
"/");
                }
-
-               res.push_back(*i + type + "/");
        }
 
        // not found in "/type" directory, try main directory
@@ -971,8 +969,6 @@
 
        if(!game_config::path.empty())
                res.push_back(game_config::path+"/");
-
-       res.push_back("");
 
        return res;
 }




Related Messages


Powered by MHonArc, Updated Tue Mar 03 19:00:07 2009