summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/store.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-30 23:10:08 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-30 23:10:08 +0000
commitfc34c2118ce7b3506c5d2c16e5dcc824978f79e5 (patch)
tree264f362712a4315c39a5b3af06e8802dd4fc4cbe /crawl-ref/source/store.cc
parent0b97115e76ac68219aba51eb7f8058be3d23ea9a (diff)
downloadcrawl-ref-fc34c2118ce7b3506c5d2c16e5dcc824978f79e5.tar.gz
crawl-ref-fc34c2118ce7b3506c5d2c16e5dcc824978f79e5.zip
Add spacing fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9709 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/store.cc')
-rw-r--r--crawl-ref/source/store.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/store.cc b/crawl-ref/source/store.cc
index f9b4216623..da3a4a52ac 100644
--- a/crawl-ref/source/store.cc
+++ b/crawl-ref/source/store.cc
@@ -290,7 +290,7 @@ CrawlStoreValue &CrawlStoreValue::operator = (const CrawlStoreValue &other)
type = other.type;
flags = other.flags;
- switch(type)
+ switch (type)
{
case SV_NONE:
break;
@@ -592,7 +592,7 @@ CrawlVector &CrawlStoreValue::new_vector(store_val_type _type,
else \
{ \
ASSERT(!(flags & SFLAG_CONST_TYPE)); \
- switch(type) \
+ switch (type) \
{ \
case SV_BOOL: \
field = (_type) val.boolean; \
@@ -850,7 +850,7 @@ CrawlStoreValue::operator bool() const
}
#define CONST_INT_CAST() \
- switch(type) \
+ switch (type) \
{ \
case SV_BYTE: \
return get_byte(); \
@@ -964,7 +964,7 @@ CrawlStoreValue &CrawlStoreValue::operator = (const item_def &_val)
///////////////////////////////////////////////////
// Non-assignment operators which affect the lvalue
#define INT_OPERATOR_UNARY(op) \
- switch(type) \
+ switch (type) \
{ \
case SV_BYTE: \
{ \
@@ -1162,7 +1162,7 @@ void CrawlHashTable::assert_validity() const
ASSERT(val.type != SV_NONE);
ASSERT(!(val.flags & SFLAG_UNSET));
- switch(val.type)
+ switch (val.type)
{
case SV_STR:
case SV_COORD:
@@ -1439,7 +1439,7 @@ void CrawlVector::assert_validity() const
if (val.type == SV_NONE || (val.flags & SFLAG_UNSET))
continue;
- switch(val.type)
+ switch (val.type)
{
case SV_STR:
case SV_COORD: