1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* expand tabs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
svn 2019-01-09 12:55:21 +00:00
parent 730f2886b5
commit df0faba1ff

View file

@ -810,8 +810,8 @@ strio_ungetbyte(VALUE self, VALUE c)
int i = FIX2INT(c);
if (0 <= i && i <= UCHAR_MAX) {
char buf[1];
buf[0] = (char)i;
return strio_unget_bytes(ptr, buf, 1);
buf[0] = (char)i;
return strio_unget_bytes(ptr, buf, 1);
}
else {
rb_raise(rb_eRangeError,