mail[Wesnoth-commits] r34025 - /branches/1.6/src/filesystem.cpp


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

Header


Content

Posted by koraq on March 22, 2009 - 13:39:
Author: mordante
Date: Sun Mar 22 13:39:12 2009
New Revision: 34025

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34025&view=rev
Log:
Fix indention.

Modified:
    branches/1.6/src/filesystem.cpp

Modified: branches/1.6/src/filesystem.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/src/filesystem.cpp?rev=34025&r1=34024&r2=34025&view=diff
==============================================================================
--- branches/1.6/src/filesystem.cpp (original)
+++ branches/1.6/src/filesystem.cpp Sun Mar 22 13:39:12 2009
@@ -680,9 +680,11 @@
 
 std::string read_map(const std::string& name)
 {
-        std::string res;
-        std::string map_location = get_wml_location("maps/" + name);
-        if(!map_location.empty()) res = read_file(map_location);
+       std::string res;
+       std::string map_location = get_wml_location("maps/" + name);
+       if(!map_location.empty()) {
+               res = read_file(map_location);
+       }
 
        if (res.empty()) {
                res = read_file(get_user_data_dir() + "/editor/maps/" + name);




Related Messages


Powered by MHonArc, Updated Sun Mar 22 13:40:22 2009