summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-11 08:34:28 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-11 08:34:28 +0000
commitf940a107ee39270adf4ee2b46e0c1f8069f7b6a1 (patch)
treed4967b876d34ddc8181ce36d4575de24cf00b40c /string.c
parentfb5ff37bae7279553461de9867d9e6abbaa52d66 (diff)
* string.c (rb_str_dump): need to extend len for \b.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index b5fc5f3446..62c494ac73 100644
--- a/string.c
+++ b/string.c
@@ -2650,7 +2650,7 @@ rb_str_dump(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;