From: notmasteryet Date: Wed, 12 Oct 2011 22:37:55 +0000 (-0500) Subject: Nit: Rename 's' by 'charcode' X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5ec177d88e0f80eb4d66f4288828f59f8c4e461c;p=pdf.js.git Nit: Rename 's' by 'charcode' --- diff --git a/fonts.js b/fonts.js index f31c52b..d4183f1 100644 --- a/fonts.js +++ b/fonts.js @@ -2565,9 +2565,9 @@ var Type2CFF = (function type2CFF() { } if (!inDifferences) { var code = properties.firstChar + i; - for (var s in encoding) { + for (var charcode in encoding) { if (encoding[s] == i) { - code = s | 0; + code = charcode | 0; break; } }