about summary refs log tree commit diff
path: root/nix-repl.cc
diff options
context:
space:
mode:
authorEmery Hemingway <emery@vfemail.net>2016-06-25T11·40+0200
committerEmery Hemingway <emery@vfemail.net>2016-06-25T11·40+0200
commit34ec98176e4644c8c6ec45e4e932b83cbddc6cce (patch)
tree75bce0e2b4324c3e1acd978f22695a435a50146b /nix-repl.cc
parenteaabcba1c39a22c588b8c9336ec7ba98aefce86e (diff)
fixup "Colorize"
Do not quote escape sequence macro
Diffstat (limited to 'nix-repl.cc')
-rw-r--r--nix-repl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-repl.cc b/nix-repl.cc
index e28c543035fa..fc0c3791334c 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;
     }