From: g0dil Date: Tue, 27 Oct 2009 12:43:56 +0000 (+0000) Subject: Utils: quote DEL chars when formatting X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=1d41d158d2b9c45b5c900320aae4dea1c9091261;p=senf.git Utils: quote DEL chars when formatting git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1512 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/Format.cc b/senf/Utils/Format.cc index e824b39..6b6e172 100644 --- a/senf/Utils/Format.cc +++ b/senf/Utils/Format.cc @@ -146,7 +146,7 @@ prefix_ std::string senf::format::detail::dumpintUnsigned(unsigned long long v, ss << ") ("; for (int i (bytes-1); i>=0; --i) { char c ((v>>(8*i))&0xff); - ss << ((c>=32 && c<=127) ? c : '.'); + ss << ((c>=32 && c<=126) ? c : '.'); } ss << ')'; return ss.str();