From 34ec98176e4644c8c6ec45e4e932b83cbddc6cce Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sat, 25 Jun 2016 13:40:50 +0200 Subject: [PATCH] fixup "Colorize" Do not quote escape sequence macro --- nix-repl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix-repl.cc b/nix-repl.cc index e28c54303..fc0c37913 100644 --- a/nix-repl.cc +++ b/nix-repl.cc @@ -551,7 +551,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m break; case tBool: - str << ESC_CYA << (v.boolean ? "true" : "false") << ESC_END; + str << ESC_CYA << (v.boolean ? "true" : "false") << ESC_END; break; case tString: @@ -666,7 +666,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m break; default: - str << "ESC_RED «unknown»" ESC_END; + str << ESC_RED "«unknown»" ESC_END; break; }