summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/FixAry.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 22:24:57 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 22:24:57 +0000
commit09af3a09ba0e6e5243d900e47ac6bf2df6e3b9e0 (patch)
tree7069cb0f11a95e4edb9b2662b4d420eb90e7fe80 /crawl-ref/source/FixAry.h
parent2a0b4dc76b699aa56ba5ab652368e188a97d7a1e (diff)
downloadcrawl-ref-09af3a09ba0e6e5243d900e47ac6bf2df6e3b9e0.tar.gz
crawl-ref-09af3a09ba0e6e5243d900e47ac6bf2df6e3b9e0.zip
Add whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6269 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/FixAry.h')
-rw-r--r--crawl-ref/source/FixAry.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/FixAry.h b/crawl-ref/source/FixAry.h
index 4e3ab70514..b1de7cc8cc 100644
--- a/crawl-ref/source/FixAry.h
+++ b/crawl-ref/source/FixAry.h
@@ -5,9 +5,9 @@
*
* Modified for Crawl Reference by $Author$ on $Date$
*
- * Change History (most recent first):
+ * Change History (most recent first):
*
- * <1> 6/16/00 JDJ Created
+ * <1> 6/16/00 JDJ Created
*/
#ifndef FIXARY_H
@@ -37,7 +37,7 @@ public:
// operator[] should return one of these to avoid breaking
// client code (if inlining is on there won't be a speed hit)
typedef FixedVector<TYPE, HEIGHT> Column;
-
+
//-----------------------------------
// API
//
@@ -61,7 +61,7 @@ public:
template<class Indexer> const TYPE& operator () (const Indexer &i) const {
return mData[i.x][i.y];
}
-
+
void init(const TYPE& def) {
for ( int i = 0; i < WIDTH; ++i )
mData[i].init(def);
@@ -87,7 +87,7 @@ public:
{
return data[x + y * width];
}
-
+
private:
Z *data;
int width, height, size;
@@ -118,7 +118,7 @@ template <typename Z>
void Matrix<Z>::init(const Z &initial)
{
for (int i = 0; i < size; ++i)
- data[i] = initial;
+ data[i] = initial;
}
#endif // FIXARY_H