]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-128627: Emscripten: Add missing semicolon in ios detection code (GH-135590...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 16 Jun 2025 23:41:46 +0000 (01:41 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Jun 2025 23:41:46 +0000 (23:41 +0000)
(cherry picked from commit 68b7e1a6677d7a8fb47fbd28cb5d39a87217273c)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Python/emscripten_trampoline.c

index 975c28eec104c6699308f863de6404ace8b9e21c..75b98a047234d8614f9769383e0b2f4ccb1a2e47 100644 (file)
@@ -80,7 +80,7 @@ function getPyEMCountArgsPtr() {
         // To differentiate, we check if the platform is 'MacIntel' (common for Macs and newer iPads)
         // AND if the device has multi-touch capabilities (navigator.maxTouchPoints > 1)
         (navigator.platform === 'MacIntel' && typeof navigator.maxTouchPoints !== 'undefined' && navigator.maxTouchPoints > 1)
-    )
+    );
     if (isIOS) {
         return 0;
     }