Lutz Roeder 5 лет назад
Родитель
Сommit
3674571b1c
1 измененных файлов с 1 добавлено и 1 удалено
  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) {