From 2271f7df7fd31c2f15bfbcc4e24ff1a724995a44 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Wed, 6 Jul 2011 02:51:17 +0200 Subject: [PATCH] Fix some indentations issues --- fonts.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/fonts.js b/fonts.js index e61a8f666..5abc13fd3 100644 --- a/fonts.js +++ b/fonts.js @@ -643,17 +643,16 @@ var Font = (function Font() { var ulUnicodeRange3 = 0; var ulUnicodeRange4 = 0; - var charset = properties.charset; + var charset = properties.charset; if (charset && charset.length) { - var firstCharIndex = null; - var lastCharIndex = 0; + var firstCharIndex = null; + var lastCharIndex = 0; - for (var i = 1; i < charset.length; i++) { - var code = GlyphsUnicode[charset[i]]; - if (firstCharIndex > code || !firstCharIndex) + for (var i = 1; i < charset.length; i++) {var code = GlyphsUnicode[charset[i]]; + if (firstCharIndex > code || !firstCharIndex) firstCharIndex = code; - if (lastCharIndex < code) - lastCharIndex = code; + if (lastCharIndex < code) + lastCharIndex = code; var position = getUnicodeRangeFor(code); if (position < 32) {