summaryrefslogtreecommitdiff
path: root/src/unistring.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-25 04:35:19 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-25 05:01:39 -0400
commit588f2ef2f51d7bdf209820bfb244034863601939 (patch)
tree7a473de7c117bf71bb802398823826ca4dfbfdca /src/unistring.h
parentdc66840dd745863c06ad6513f9f66d589bcc29d8 (diff)
downloadfork-ledger-588f2ef2f51d7bdf209820bfb244034863601939.tar.gz
fork-ledger-588f2ef2f51d7bdf209820bfb244034863601939.tar.bz2
fork-ledger-588f2ef2f51d7bdf209820bfb244034863601939.zip
Fixed many compiler warnings from g++ 4.4
Diffstat (limited to 'src/unistring.h')
-rw-r--r--src/unistring.h8
1 files changed, 4 insertions, 4 deletions
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";
}
}