summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-03 14:40:19 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-03 14:40:19 +0000
commitb49316f91a8dfd8386ae41a4cf2b9e1814fb9166 (patch)
tree520a548fb84493df971ed251e53fe3cd0f043921 /crawl-ref/source/format.cc
parent4f5d24c39a9fb20f44953732a793ba24b88b1252 (diff)
downloadcrawl-ref-b49316f91a8dfd8386ae41a4cf2b9e1814fb9166.tar.gz
crawl-ref-b49316f91a8dfd8386ae41a4cf2b9e1814fb9166.zip
Nemelex changes:
- Renamed abilities, and reordered so that you get Draw One before Peek Two - Mark Four and Peek Two now lose some cards from the deck - Viewing a deck now shows which cards have been marked in it Also fixed a small warning in format.cc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4059 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/format.cc')
-rw-r--r--crawl-ref/source/format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/format.cc b/crawl-ref/source/format.cc
index ebccc2bf10..ea97f21b4d 100644
--- a/crawl-ref/source/format.cc
+++ b/crawl-ref/source/format.cc
@@ -351,7 +351,7 @@ std::string formatted_string::to_colour_string() const
while (true)
{
- const unsigned int left_angle = st.find('<', start);
+ const size_t left_angle = st.find('<', start);
if (left_angle == std::string::npos)
break;