This commit is contained in:
Damian Tarnawski
2023-10-06 17:26:39 +02:00
parent 42c7e39c99
commit 721c9e2c97

View File

@@ -1423,7 +1423,7 @@ function odinSetupDefaultImports(wasmMemoryInterface, consoleElement) {
wmi.storeI16(off(2), e.button);
wmi.storeU16(off(2), e.buttons);
} else if (e instanceof KeyboardEvent) {
// Note: those strigs are constructed
// Note: those strings are constructed
// on the native side from buffers that
// are filled later, so skip them
const keyPtr = off(W*2, W);