summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-io/mrblib/io.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/mruby-io/mrblib/io.rb')
-rw-r--r--mrbgems/mruby-io/mrblib/io.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/mrbgems/mruby-io/mrblib/io.rb b/mrbgems/mruby-io/mrblib/io.rb
index ce33f2367..e43b81004 100644
--- a/mrbgems/mruby-io/mrblib/io.rb
+++ b/mrbgems/mruby-io/mrblib/io.rb
@@ -283,9 +283,10 @@ class IO
def readchar
_read_buf
- c = @buf[0]
- @buf[0] = ""
- c
+ _readchar(@buf)
+# c = @buf[0]
+# @buf[0] = ""
+# c
end
def getc