Author: mordante
Date: Sun Mar 22 13:39:49 2009
New Revision: 34026
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34026&view=rev
Log:
Fix indention.
Modified:
trunk/src/filesystem.cpp
Modified: trunk/src/filesystem.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/filesystem.cpp?rev=34026&r1=34025&r2=34026&view=diff
==============================================================================
--- trunk/src/filesystem.cpp (original)
+++ trunk/src/filesystem.cpp Sun Mar 22 13:39:49 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);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits