Skip to content

Commit

Permalink
Merge pull request #393 from metrico/392_fix
Browse files Browse the repository at this point in the history
392 fix
  • Loading branch information
akvlad authored Nov 17, 2023
2 parents 5461bc1 + b9daaed commit 252cdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm_parts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class Uint8ArrayWriter {
writeString (str) {
const bStr = (new TextEncoder()).encode(str)
this.writeULeb(bStr.length)
this.maybeGrow(b.length)
this.maybeGrow(bStr.length)
this.buf.set(bStr, this.i)
this.i += bStr.length
return this
Expand Down

0 comments on commit 252cdfc

Please sign in to comment.