From 0c23b5652a71958f2021c093c9482054686ca0d6 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Mon, 3 Oct 2016 08:40:28 -0700 Subject: [PATCH] color 8 wasn't white, it's brblack Fixes wrong comment. Pick a better grey shade. --- src/screen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screen.cpp b/src/screen.cpp index b7ab5f6fd..ba0994090 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -1198,11 +1198,11 @@ void s_reset(screen_t *s, screen_reset_mode_t mode) { justgrey = false; } } - if (justgrey && set_a_foreground && max_colors >= 235) { + if (justgrey && set_a_foreground && max_colors >= 237) { // Draw the string in grey - abandon_line_string.append(str2wcstring(tparm(set_a_foreground, 235))); + abandon_line_string.append(str2wcstring(tparm(set_a_foreground, 237))); } else if (justgrey && set_a_foreground && max_colors >= 8) { - // Draw the string in white. + // Draw the string in bright black. abandon_line_string.append(str2wcstring(tparm(set_a_foreground, 8))); }