Przeglądaj źródła

Fix host file stream (#497)

Lutz Roeder 5 lat temu
rodzic
commit
3674571b1c
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {