summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/coordit.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-10-15 01:55:59 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-10-15 01:55:59 +0200
commit555734fcd3aef4c83605d70d0456dda28b7b5ace (patch)
tree9c34fe5bc58d5f3d4c0a7622045adc7aa1d17a98 /crawl-ref/source/coordit.cc
parentacf5187334f2cfb983a1a8de07d1e77f73e4283a (diff)
downloadcrawl-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/coordit.cc')
-rw-r--r--crawl-ref/source/coordit.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/coordit.cc b/crawl-ref/source/coordit.cc
index 7c90e4add9..ace1b1dd1b 100644
--- a/crawl-ref/source/coordit.cc
+++ b/crawl-ref/source/coordit.cc
@@ -10,8 +10,8 @@
#include "coord-circle.h"
#include "player.h"
-rectangle_iterator::rectangle_iterator( const coord_def& corner1,
- const coord_def& corner2 )
+rectangle_iterator::rectangle_iterator(const coord_def& corner1,
+ const coord_def& corner2)
{
topleft.x = std::min(corner1.x, corner2.x);
topleft.y = std::min(corner1.y, corner2.y); // not really necessary
@@ -20,7 +20,7 @@ rectangle_iterator::rectangle_iterator( const coord_def& corner1,
current = topleft;
}
-rectangle_iterator::rectangle_iterator( int x_border_dist, int y_border_dist )
+rectangle_iterator::rectangle_iterator(int x_border_dist, int y_border_dist)
{
if (y_border_dist < 0)
y_border_dist = x_border_dist;
@@ -60,7 +60,7 @@ rectangle_iterator& rectangle_iterator::operator ++()
}
-rectangle_iterator rectangle_iterator::operator++( int dummy )
+rectangle_iterator rectangle_iterator::operator++(int dummy)
{
const rectangle_iterator copy = *this;
++(*this);