summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-13 11:16:17 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-13 11:16:17 +0000
commit3800d44b7952e7ae1f05b711ad46268dde11821d (patch)
tree0f3726a7ecc2ce8690b55ea91ad9cf3ac1f99d65 /crawl-ref/source/format.h
parentdc024449143f2b6d6599bc41dabfbb3109a76999 (diff)
downloadcrawl-ref-3800d44b7952e7ae1f05b711ad46268dde11821d.tar.gz
crawl-ref-3800d44b7952e7ae1f05b711ad46268dde11821d.zip
Fix 2162827: tag length calculation was incorrect.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7230 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/format.h')
-rw-r--r--crawl-ref/source/format.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/format.h b/crawl-ref/source/format.h
index 3e7bc4374f..9ddd43576d 100644
--- a/crawl-ref/source/format.h
+++ b/crawl-ref/source/format.h
@@ -114,4 +114,8 @@ public:
int count_linebreaks(const formatted_string& fs);
+int tagged_string_tag_length(const std::string& s);
+int tagged_string_printable_length(const std::string& s);
+std::string tagged_string_substr(const std::string& s, int start, int end);
+
#endif