summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-11 14:10:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-11 14:10:23 +0000
commitb3abedee469eb2092d04fce463f3ac7bc85ab6fb (patch)
treeab8cb63d11c6e58497eb75dd24813079a3912cc7 /object.c
parentfb6245957e14511946ebb79dd3df4c61c90e38c1 (diff)
* object.c (rb_obj_inspect): merge from 1.7: remove useless space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 23a374fdd1..481d815ab4 100644
--- a/object.c
+++ b/object.c
@@ -210,7 +210,7 @@ rb_obj_inspect(obj)
return str;
}
str = rb_str_new(0, strlen(c)+6+16+1); /* 6:tags 16:addr 1:eos */
- sprintf(RSTRING(str)->ptr, "-<%s:0x%lx ", c, obj);
+ sprintf(RSTRING(str)->ptr, "-<%s:0x%lx", c, obj);
RSTRING(str)->len = strlen(RSTRING(str)->ptr);
return rb_protect_inspect(inspect_obj, obj, str);
}