summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/colour.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-20 04:09:30 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-20 04:09:30 +0200
commit42ba8f512f64a97eed91c93a08ae94cd4846594a (patch)
treeec2cdbd8e02397c4bfabb7a52fbe9fdda93d39ca /crawl-ref/source/colour.cc
parent3c9610e3a0037c99a7a884070fca015df06a572e (diff)
downloadcrawl-ref-42ba8f512f64a97eed91c93a08ae94cd4846594a.tar.gz
crawl-ref-42ba8f512f64a97eed91c93a08ae94cd4846594a.zip
Make a few functions static.
Diffstat (limited to 'crawl-ref/source/colour.cc')
-rw-r--r--crawl-ref/source/colour.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/colour.cc b/crawl-ref/source/colour.cc
index 076966ebf7..b56c1698b2 100644
--- a/crawl-ref/source/colour.cc
+++ b/crawl-ref/source/colour.cc
@@ -781,8 +781,7 @@ static unsigned short _dos_hilite_brand(unsigned short colour,
return (colour);
}
-unsigned short dos_brand(unsigned short colour,
- unsigned brand)
+static unsigned short _dos_brand(unsigned short colour, unsigned brand)
{
if ((brand & CHATTR_ATTRMASK) == CHATTR_NORMAL)
return (colour);
@@ -836,7 +835,7 @@ unsigned real_colour(unsigned raw_colour, const coord_def& loc)
if (colflags)
{
unsigned brand = _colflag2brand(colflags);
- raw_colour = dos_brand(raw_colour & 0xFF, brand);
+ raw_colour = _dos_brand(raw_colour & 0xFF, brand);
}
#endif