From a1f5318b0789743bbc6d8e93d408379115c67534 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Fri, 12 Mar 2010 17:09:50 -0800 Subject: [PATCH] fixed segfault --- lib/pdf/InfoOutputDev.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/pdf/InfoOutputDev.cc b/lib/pdf/InfoOutputDev.cc index e0fc2e3..bd1a0b5 100644 --- a/lib/pdf/InfoOutputDev.cc +++ b/lib/pdf/InfoOutputDev.cc @@ -176,8 +176,6 @@ static gfxfont_t* createGfxFont(FontInfo*src) gfxglyph_t*glyph = &font->glyphs[font->num_glyphs]; src->glyphs[t]->glyphid = font->num_glyphs; glyph->unicode = src->glyphs[t]->unicode; - if(glyph->unicode >= font->max_unicode) - font->max_unicode = glyph->unicode+1; gfxdrawer_t drawer; gfxdrawer_target_gfxline(&drawer); int s; -- 1.7.10.4