aboutsummaryrefslogtreecommitdiffhomepage
path: root/color.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-24 12:07:57 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-24 12:08:32 -0800
commit412902e4aea074dffaf20cb21c3c289cb45c0dff (patch)
tree0c580ad7c0bf62c55fb42d4418437733d3cb77b8 /color.h
parent268d64d244cf6c1202c57e91d801ad772449f639 (diff)
Fix for an issue where the newline character would appear on blank lines. Instead of inverting the newline character, draw it in gray.
Diffstat (limited to 'color.h')
-rw-r--r--color.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/color.h b/color.h
index f95efb29..3bd53cd0 100644
--- a/color.h
+++ b/color.h
@@ -135,7 +135,7 @@ public:
/** Returns whether the color is bold */
bool is_bold() const
{
- return flags & flag_bold;
+ return !! (flags & flag_bold);
}
/** Set whether the color is bold */