aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-11 17:07:56 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-11 17:07:56 -0800
commitd66700a0e4d20a9193ea83490781c0858d98c3f6 (patch)
tree85ac2ea2e5cedda5d99cbbf3eba95eb07de4a0cf /screen.cpp
parentb59a22bef03b7b7922687cb4f1e6acb8a2709218 (diff)
Color work
Diffstat (limited to 'screen.cpp')
-rw-r--r--screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.cpp b/screen.cpp
index e74d4e8b..388d474b 100644
--- a/screen.cpp
+++ b/screen.cpp
@@ -530,8 +530,8 @@ static void s_set_color( screen_t *s, buffer_t *b, int c )
s_writeb_buffer = b;
unsigned int uc = (unsigned int)c;
- set_color( highlight_get_color( uc & 0xffff, false ),
- highlight_get_color( (uc>>16)&0xffff, true ) );
+ set_color( highlight_get_rgb_color( uc & 0xffff, false ),
+ highlight_get_rgb_color( (uc>>16)&0xffff, true ) );
output_set_writer( writer_old );