diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-13 09:52:17 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-13 09:52:17 -0800 |
commit | dce189fc6d482cbbc49b9ad0fe9843235224ec9a (patch) | |
tree | 3c986ccdc20c349d921f73a74667e9414e247715 /screen.cpp | |
parent | 0a4c72e78b929237711717508746390e666f3811 (diff) |
Support for setting both RGB and named colors on the same line, so the same config can work for multiple term types
Diffstat (limited to 'screen.cpp')
-rw-r--r-- | screen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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_rgb_color( uc & 0xffff, false ), - highlight_get_rgb_color( (uc>>16)&0xffff, true ) ); + set_color( highlight_get_color( uc & 0xffff, false ), + highlight_get_color( (uc>>16)&0xffff, true ) ); output_set_writer( writer_old ); |