summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 14:49:56 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 14:49:56 +0000
commit7cd6623f97a35ace8b72b9baf7966ebd4f8f3d5d (patch)
tree84852c14ba9779e54d59afb3be5165ba0d5d7999 /crawl-ref
parent74937f642da3d099c47fa84bbfb83456946f8b6e (diff)
downloadcrawl-ref-7cd6623f97a35ace8b72b9baf7966ebd4f8f3d5d.tar.gz
crawl-ref-7cd6623f97a35ace8b72b9baf7966ebd4f8f3d5d.zip
Comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6247 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/player.cc4
-rw-r--r--crawl-ref/source/winhdr.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 451b22f347..21904de8d6 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6711,7 +6711,7 @@ void PlaceInfo::make_global()
void PlaceInfo::assert_validity() const
{
- // Check that level_type and branch match up
+ // Check that level_type and branch match up.
ASSERT(is_global()
|| level_type == LEVEL_DUNGEON && branch >= BRANCH_MAIN_DUNGEON
&& branch < NUM_BRANCHES
@@ -6719,7 +6719,7 @@ void PlaceInfo::assert_validity() const
&& branch == -1);
// Can't have visited a place without seeing any of its levels, and
- // visa versa.
+ // vice versa.
ASSERT(num_visits == 0 && levels_seen == 0
|| num_visits > 0 && levels_seen > 0);
diff --git a/crawl-ref/source/winhdr.h b/crawl-ref/source/winhdr.h
index 31caab774f..adb295908d 100644
--- a/crawl-ref/source/winhdr.h
+++ b/crawl-ref/source/winhdr.h
@@ -48,7 +48,7 @@
#pragma warning(error : 4130) // The operator was used with the address of a string literal.
#pragma warning(error : 4131) // The specified function declaration is not in prototype form.
#pragma warning(error : 4132) // The constant was not initialized.
-#pragma warning(error : 4152) // A pointer to a function was converted to a pointer to data, or visa versa.
+#pragma warning(error : 4152) // A pointer to a function was converted to a pointer to data, or vice versa.
#pragma warning(error : 4208) // nonstandard extension used : delete [exp] - exp evaluated but ignored
#pragma warning(error : 4211) // nonstandard extension used : redefined extern to static
#pragma warning(error : 4212) // nonstandard extension used : function declaration used ellipsis