From 5ec177d88e0f80eb4d66f4288828f59f8c4e461c Mon Sep 17 00:00:00 2001 From: notmasteryet Date: Wed, 12 Oct 2011 17:37:55 -0500 Subject: [PATCH] Nit: Rename 's' by 'charcode' --- fonts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fonts.js b/fonts.js index f31c52b76..d4183f146 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; } }