aboutsummaryrefslogtreecommitdiff
path: root/libbutl/char-scanner.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-01 23:22:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-01 23:22:43 +0300
commita32378a9aedd61c51166432ecd26a6a5dd405ebb (patch)
tree39c11d2f1a852fce90b4b3dd3d9b35a0cde2bd61 /libbutl/char-scanner.cxx
parent1d53d806a603044a08e359369eec72b02ba884e3 (diff)
Treat CR specially by manifest serializer
Diffstat (limited to 'libbutl/char-scanner.cxx')
-rw-r--r--libbutl/char-scanner.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/char-scanner.cxx b/libbutl/char-scanner.cxx
index a2baaf3..a97ed48 100644
--- a/libbutl/char-scanner.cxx
+++ b/libbutl/char-scanner.cxx
@@ -34,7 +34,7 @@ namespace butl
if (v == xchar::traits_type::eof ())
eos_ = true;
- else if (crlf_ && v == 0x0D)
+ else if (crlf_ && v == '\r')
{
get_ ();
int_type v1 (peek_ ());