From 588f2ef2f51d7bdf209820bfb244034863601939 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 04:35:19 -0400 Subject: Fixed many compiler warnings from g++ 4.4 --- src/unistring.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/unistring.h') diff --git a/src/unistring.h b/src/unistring.h index 5467a151..d3cfc126 100644 --- a/src/unistring.h +++ b/src/unistring.h @@ -103,9 +103,9 @@ inline void justify(std::ostream& out, bool redden = false) { if (! right) { - if (redden) out << "\e[31m"; + if (redden) out << "\033[31m"; out << str; - if (redden) out << "\e[0m"; + if (redden) out << "\033[0m"; } unistring temp(str); @@ -115,9 +115,9 @@ inline void justify(std::ostream& out, out << ' '; if (right) { - if (redden) out << "\e[31m"; + if (redden) out << "\033[31m"; out << str; - if (redden) out << "\e[0m"; + if (redden) out << "\033[0m"; } } -- cgit v1.2.3