From d2739f10e16f3f87a7e4f6cc6b97078cfd2b183b Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Mon, 3 Oct 2016 15:28:36 -0700 Subject: [PATCH] Fix typo. --- src/output.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/output.cpp b/src/output.cpp index 558186471..dff1eaad6 100644 --- a/src/output.cpp +++ b/src/output.cpp @@ -71,7 +71,6 @@ static bool write_color_escape(char *todo, unsigned char idx, bool is_fg) { // We are attempting to bypass the term here. Generate the ANSI escape sequence ourself. char buff[16] = ""; if (idx < 16) { - if snprintf(buff, sizeof buff, "\x1b[%dm", ((idx > 7) ? 82 : 30) + idx + !is_fg * 10); } else { snprintf(buff, sizeof buff, "\x1b[%d;5;%dm", is_fg ? 38 : 48, idx);