From fc04b1943d77287abe2eb47fecc3ac9e5f34a81f Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sat, 22 Aug 2015 09:37:39 -0400 Subject: [PATCH] Fix typo in handling UTF-16 characters --- unpacked/jax/output/CommonHTML/jax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index bfc1ca683..d1646567f 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -683,7 +683,7 @@ unicodeChar: function (n) { if (n < 0xFFFF) return String.fromCharCode(n); n -= 0x10000; - return String.fromCharCode((n>>10)+0xD800) + String.fromCharCode((N&0x3FF)+0xDC00); + return String.fromCharCode((n>>10)+0xD800) + String.fromCharCode((n&0x3FF)+0xDC00); }, // // Get the unicode number of a (possibly multi-character) string