Color work

This commit is contained in:
ridiculousfish
2012-02-11 17:07:56 -08:00
parent b59a22bef0
commit d66700a0e4
9 changed files with 471 additions and 37 deletions

View File

@@ -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 );