summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-09-20 18:14:37 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-09-23 11:34:36 -0700
commit23fb764d62918b052e0b8bcee7f2c04ce661eee3 (patch)
tree47fccd807e2636b5b187c1a0e16029a20991fc07 /crawl-ref/source/libunix.cc
parentebd0ab27f176fac868068bd66cb5fc5774ae1639 (diff)
downloadcrawl-ref-23fb764d62918b052e0b8bcee7f2c04ce661eee3.tar.gz
crawl-ref-23fb764d62918b052e0b8bcee7f2c04ce661eee3.zip
libunix.cc: remove textattr() from USE_TILE builds
USE_TILE builds instead pay attention to the textattr macro. Leaving this function here causes a duplicate function declaration in such builds. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r--crawl-ref/source/libunix.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index 7006a6d2fb..d2ac1c157a 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -892,10 +892,12 @@ inline unsigned get_brand(int col)
: CHATTR_NORMAL;
}
+#ifndef USE_TILE
void textattr(int col)
{
textcolor(col);
}
+#endif
static int curs_fg_attr(int col)
{