aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-05-02 21:09:21 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-05-02 21:09:21 +0100
commit89c4742ff09fbdd24a3cf78aaed53d45b5601d2a (patch)
tree3ca1d9d781da28eb485b2bf3e658883b0519fa6c
parentdda2cf8f3fccac766e4fb3f7a29579a01a5947d4 (diff)
downloadpaludis-89c4742ff09fbdd24a3cf78aaed53d45b5601d2a.tar.gz
paludis-89c4742ff09fbdd24a3cf78aaed53d45b5601d2a.tar.xz
\e is not iso
-rw-r--r--src/clients/cave/format_string.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/format_string.cc b/src/clients/cave/format_string.cc
index aaf8f24..7893275 100644
--- a/src/clients/cave/format_string.cc
+++ b/src/clients/cave/format_string.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008 Ciaran McCreesh
+ * Copyright (c) 2008, 2009 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -96,7 +96,7 @@ paludis::cave::format_string(
int c(destringify<unsigned>(tokens.at(1))), l(0);
for (int q(0), q_end(result.length()) ; q != q_end ; ++q)
- if ('\e' == result[q])
+ if (27 == result[q])
{
for ( ; q != q_end ; ++q)
if ('m' == result[q])