diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-10-15 01:55:59 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-10-15 01:55:59 +0200 |
commit | 555734fcd3aef4c83605d70d0456dda28b7b5ace (patch) | |
tree | 9c34fe5bc58d5f3d4c0a7622045adc7aa1d17a98 /crawl-ref/source/mapmark.cc | |
parent | acf5187334f2cfb983a1a8de07d1e77f73e4283a (diff) | |
download | crawl-ref-555734fcd3aef4c83605d70d0456dda28b7b5ace.tar.gz crawl-ref-555734fcd3aef4c83605d70d0456dda28b7b5ace.zip |
Massive spacing fixes: "( spaces after parentheses )".
I did review it manually to find places where they made sense (like some
tables), but for a massive sed job like this there might be places that
I missed.
Diffstat (limited to 'crawl-ref/source/mapmark.cc')
-rw-r--r-- | crawl-ref/source/mapmark.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/mapmark.cc b/crawl-ref/source/mapmark.cc index 5b7ad1b0f4..950a49a541 100644 --- a/crawl-ref/source/mapmark.cc +++ b/crawl-ref/source/mapmark.cc @@ -705,7 +705,7 @@ void map_markers::init_from(const map_markers &c) for (dgn_marker_map::const_iterator i = c.markers.begin(); i != c.markers.end(); ++i) { - add( i->second->clone() ); + add(i->second->clone()); } have_inactive_markers = c.have_inactive_markers; } @@ -718,7 +718,7 @@ void map_markers::clear_need_activate() void map_markers::activate_all(bool verbose) { for (dgn_marker_map::iterator i = markers.begin(); - i != markers.end(); ) + i != markers.end();) { map_marker *marker = i->second; ++i; @@ -726,7 +726,7 @@ void map_markers::activate_all(bool verbose) } for (dgn_marker_map::iterator i = markers.begin(); - i != markers.end(); ) + i != markers.end();) { map_marker *marker = i->second; ++i; @@ -791,7 +791,7 @@ void map_markers::remove_markers_at(const coord_def &c, { std::pair<dgn_marker_map::iterator, dgn_marker_map::iterator> els = markers.equal_range(c); - for (dgn_marker_map::iterator i = els.first; i != els.second; ) + for (dgn_marker_map::iterator i = els.first; i != els.second;) { dgn_marker_map::iterator todel = i++; if (type == MAT_ANY || todel->second->get_type() == type) @@ -831,7 +831,7 @@ void map_markers::move(const coord_def &from, const coord_def &to) els = markers.equal_range(from); std::list<map_marker*> tmarkers; - for (dgn_marker_map::iterator i = els.first; i != els.second; ) + for (dgn_marker_map::iterator i = els.first; i != els.second;) { dgn_marker_map::iterator curr = i++; tmarkers.push_back(curr->second); @@ -934,8 +934,8 @@ void map_markers::write(writer &outf) const // Write the marker data, prefixed by a size marshallInt(outf, buf.size()); - for ( std::vector<unsigned char>::const_iterator bi = buf.begin(); - bi != buf.end(); ++bi ) + for (std::vector<unsigned char>::const_iterator bi = buf.begin(); + bi != buf.end(); ++bi) { outf.writeByte(*bi); } |