fontforge/fontforge-20060125-glibccrash.patch
2006-02-12 20:35:26 +00:00

14 lines
678 B
Diff

--- fontforge-20060125/fontforge/charview.c.glibccrash 2006-01-15 09:38:57.000000000 +0330
+++ fontforge-20060125/fontforge/charview.c 2006-02-12 23:49:58.000000000 +0330
@@ -2803,8 +2803,8 @@
ss->first->prev->from->nextcpindex = pnum++;
for ( sp=ss->first; ; ) {
if ( (sp->ttfindex==0xffff ||
- ( !sp->nonextcp && !sp->noprevcp &&
- !sp->roundx && !sp->roundy && !sp->dontinterpolate )) &&
+ ( !sp->roundx && !sp->roundy && !sp->dontinterpolate )) &&
+ !sp->nonextcp && !sp->noprevcp &&
RealWithin((sp->nextcp.x+sp->prevcp.x)/2, sp->me.x,.1) &&
RealWithin((sp->nextcp.y+sp->prevcp.y)/2, sp->me.y,.1) )
sp->ttfindex = 0xffff;