From 1b920c3de84b188e008555411da364d15cac35ee Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Sat, 13 Nov 2010 00:44:12 +0000 Subject: Change inext = seenEncodings; seenEncodings = p; p->name = xstrdup(encoding); - p->glyphs = (const char **)mymalloc((MAX_CHAR_CODE+2) * sizeof(char *)); + p->glyphs = (const char **)mymalloc((MAX_CHAR_CODE+1) * sizeof(char *)); for (i=0; i<=MAX_CHAR_CODE; i++) p->glyphs[i] = ".notdef"; load_enc(encoding, p->glyphs); -- cgit v1.2.3