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:
parent
730f2886b5
commit
df0faba1ff
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue