diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-09-20 18:14:37 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-09-25 14:32:30 -0700 |
commit | e5dc9d539523e4efa596ec74e5ac471c188b1f26 (patch) | |
tree | f73f34432592dbc103e21f8963b7aaa1b0cbcf3a | |
parent | 995c41aeeefb8d20e7b8d3415b4fcbd9230af6d1 (diff) | |
download | crawl-ref-e5dc9d539523e4efa596ec74e5ac471c188b1f26.tar.gz crawl-ref-e5dc9d539523e4efa596ec74e5ac471c188b1f26.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>
-rw-r--r-- | crawl-ref/source/libunix.cc | 2 |
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) { |