diff --git a/src/libdraw/getsubfont.c b/src/libdraw/getsubfont.c index 1cc234ef..2b7cf5c6 100644 --- a/src/libdraw/getsubfont.c +++ b/src/libdraw/getsubfont.c @@ -122,7 +122,7 @@ scalesubfont(Subfont *f, int scale) f->height *= scale; f->ascent *= scale; - for(j=0; jn; j++) { + for(j=0; j<=f->n; j++) { f->info[j].x *= scale; f->info[j].top *= scale; f->info[j].bottom *= scale;