Explorar o código

Fix host file stream (#497)

Lutz Roeder %!s(int64=5) %!d(string=hai) anos
pai
achega
3674571b1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      source/electron.js

+ 1 - 1
source/electron.js

@@ -620,7 +620,7 @@ host.ElectronHost.FileStream = class {
 
     byte() {
         const position = this._fill(1);
-        return this.buffer[position];
+        return this._buffer[position];
     }
 
     _fill(length) {