diff options
author | daurnimator <quae@daurnimator.com> | 2018-07-09 21:32:33 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-07-09 21:32:33 +1000 |
commit | 1d51e3a3a38dc50e9655b62356026b78cb317fb5 (patch) | |
tree | 36444de07b23ef17e5fff1a5499b4f6cc06c303c | |
parent | 5b4fecb33c89d7cc13c49a24e63e24b890eee0be (diff) | |
download | fengari-1d51e3a3a38dc50e9655b62356026b78cb317fb5.tar.gz fengari-1d51e3a3a38dc50e9655b62356026b78cb317fb5.tar.bz2 fengari-1d51e3a3a38dc50e9655b62356026b78cb317fb5.zip |
-rw-r--r-- | src/lundump.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lundump.js b/src/lundump.js index d288d9c..807d8be 100644 --- a/src/lundump.js +++ b/src/lundump.js @@ -126,8 +126,8 @@ class BytecodeParser { let p = BytecodeParser; for (let i = 0; i < n; i++) { - if (luaZ_read(this.Z, this.u8, 0, this.instructionSize) !== 0) - this.error("truncated"); + if (luaZ_read(this.Z, this.u8, 0, this.instructionSize) !== 0) + this.error("truncated"); let ins = this.dv.getUint32(0, true); f.code[i] = { code: ins, |