From 4aea8baa3551e8bc88dbcbb447c42fbb169cae07 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 11 Jul 2006 08:34:28 +0000 Subject: * string.c (rb_str_dump): need to extend len for \b. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index bcd75a229..16939e15f 100644 --- a/string.c +++ b/string.c @@ -2497,7 +2497,7 @@ rb_str_dump(VALUE str) case '"': case '\\': case '\n': case '\r': case '\t': case '\f': - case '\013': case '\007': case '\033': + case '\013': case '\010': case '\007': case '\033': len += 2; break; -- cgit