Skip to content

Commit 810f7c5

Browse files
authored
Fix copy/paste error in src/library_html5.js. NFC (#18859)
1 parent cc8f7a2 commit 810f7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library_html5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ var LibraryHTML5 = {
10121012

10131013
var orientationChangeEventHandlerFunc = function(e = event) {
10141014
#if USE_PTHREADS
1015-
var orientationChangeEvent = targetThread ? _malloc( {{{ C_STRUCTS.EmscriptenDeviceMotionEvent.__size__ }}} ) : JSEvents.orientationChangeEvent;
1015+
var orientationChangeEvent = targetThread ? _malloc( {{{ C_STRUCTS.EmscriptenOrientationChangeEvent.__size__ }}} ) : JSEvents.orientationChangeEvent;
10161016
#else
10171017
var orientationChangeEvent = JSEvents.orientationChangeEvent;
10181018
#endif

0 commit comments

Comments
 (0)