added extra braces
authorkramm <kramm>
Sat, 11 Aug 2007 17:02:49 +0000 (17:02 +0000)
committerkramm <kramm>
Sat, 11 Aug 2007 17:02:49 +0000 (17:02 +0000)
lib/modules/swftext.c

index b6579d7..d7c0470 100644 (file)
@@ -684,7 +684,7 @@ int swf_FontReduce_swfc(SWFFONT * f)
     }
     f->use->used_glyphs = j;
     for (i = 0; i < f->maxascii; i++) {
-       if(f->ascii2glyph[i] > -1)
+       if(f->ascii2glyph[i] > -1) {
            if (f->use->chars[f->ascii2glyph[i]]<0) {
                f->use->chars[f->ascii2glyph[i]] = 0;
                f->ascii2glyph[i] = -1;
@@ -693,6 +693,7 @@ int swf_FontReduce_swfc(SWFFONT * f)
                f->use->chars[f->ascii2glyph[i]] = 1;
                max_unicode = i + 1;
            }
+       }
     }
     f->maxascii = max_unicode;
     f->use->is_reduced = 1;