summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-16 17:31:22 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-16 23:59:14 +0200
commit90005585c7206655fe91daba91805d9bad2cb0c1 (patch)
tree83f14315cbf89c6f8071a43ff549b7fa6b6e7ddb /crawl-ref/source/message.cc
parent6ca8c092ae24814196a8f76e526637f731fb8160 (diff)
downloadcrawl-ref-90005585c7206655fe91daba91805d9bad2cb0c1.tar.gz
crawl-ref-90005585c7206655fe91daba91805d9bad2cb0c1.zip
Rename struct glyph to cglyph_t.
Hard to come up with something less greppable...
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r--crawl-ref/source/message.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc
index bb2df53c98..4471497560 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -241,9 +241,9 @@ enum prefix_type
};
// Could also go with coloured glyphs.
-static glyph _prefix_glyph(prefix_type p)
+static cglyph_t _prefix_glyph(prefix_type p)
{
- glyph g;
+ cglyph_t g;
switch (p)
{
case P_TURN_START:
@@ -555,7 +555,7 @@ public:
if (first_col_more())
{
cgotoxy(1, last_row, GOTO_MSG);
- glyph g = _prefix_glyph(full ? P_FULL_MORE : P_OTHER_MORE);
+ cglyph_t g = _prefix_glyph(full ? P_FULL_MORE : P_OTHER_MORE);
formatted_string f;
f.add_glyph(g);
f.display();