aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-12 18:05:59 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-12 18:05:59 -0800
commit0a4c72e78b929237711717508746390e666f3811 (patch)
treeffd97850c2ffc47b1f27158e3a5459ee23c23ce0 /highlight.cpp
parentd66700a0e4d20a9193ea83490781c0858d98c3f6 (diff)
Added color.h, color.cpp. Got term256 colors working.
Diffstat (limited to 'highlight.cpp')
-rw-r--r--highlight.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/highlight.cpp b/highlight.cpp
index 6c4f38be..490b201e 100644
--- a/highlight.cpp
+++ b/highlight.cpp
@@ -201,7 +201,7 @@ rgb_color_t highlight_get_rgb_color( int highlight, bool is_background )
const wcstring val2 = val2_wstr.missing() ? L"" : val2_wstr.c_str();
rgb_color_t result2 = parse_color( val2, is_background );
- if( result == rgb_color_t::normal() )
+ if( result.is_normal() )
result = result2;
else
{