summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2011-01-01 12:35:51 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2011-01-01 14:34:18 +0530
commitf008b531323de4c1142e7850e1905babe896b814 (patch)
tree49caf98e77eae9081ce11911627aeadc59343736 /crawl-ref/source/showsymb.h
parent38aababc9ea55daf47b5e0f277a328c895ee419e (diff)
downloadcrawl-ref-f008b531323de4c1142e7850e1905babe896b814.tar.gz
crawl-ref-f008b531323de4c1142e7850e1905babe896b814.zip
Clean up >80 column lines in showsymb.cc.
Diffstat (limited to 'crawl-ref/source/showsymb.h')
-rw-r--r--crawl-ref/source/showsymb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/showsymb.h b/crawl-ref/source/showsymb.h
index 2623412c9e..bb5a35317d 100644
--- a/crawl-ref/source/showsymb.h
+++ b/crawl-ref/source/showsymb.h
@@ -9,6 +9,11 @@ struct glyph
{
wchar_t ch;
unsigned short col; // XXX: real or unreal depending on context...
+
+ glyph(wchar_t _ch = ' ', unsigned short _col = LIGHTGREY)
+ : ch(_ch), col(_col)
+ {
+ }
};
std::string glyph_to_tagstr(const glyph& g);