Blame fontforge-20100501-splinesets.patch
|
Kevin Fenzi |
4036c1 |
diff -Nur fontforge-20100501.orig/fontforge/splineutil.c fontforge-20100501/fontforge/splineutil.c
|
|
Kevin Fenzi |
4036c1 |
--- fontforge-20100501.orig/fontforge/splineutil.c 2010-04-21 18:53:25.000000000 -0600
|
|
Kevin Fenzi |
4036c1 |
+++ fontforge-20100501/fontforge/splineutil.c 2010-07-16 16:26:34.000000000 -0600
|
|
Kevin Fenzi |
4036c1 |
@@ -4629,14 +4629,14 @@
|
|
Kevin Fenzi |
4036c1 |
if ( r==NULL )
|
|
Kevin Fenzi |
4036c1 |
return( NULL );
|
|
Kevin Fenzi |
4036c1 |
spl = r->layers[0].splines;
|
|
Kevin Fenzi |
4036c1 |
- r = r->next;
|
|
Kevin Fenzi |
4036c1 |
+ do { r = r->next; } while ( r!=NULL && r->layers[0].splines==NULL );
|
|
Kevin Fenzi |
4036c1 |
}
|
|
Kevin Fenzi |
4036c1 |
while ( r!=NULL ) {
|
|
Kevin Fenzi |
4036c1 |
while ( spl!=NULL && spl->next!=r->layers[0].splines )
|
|
Kevin Fenzi |
4036c1 |
spl = spl->next;
|
|
Kevin Fenzi |
4036c1 |
spl->next = NULL;
|
|
Kevin Fenzi |
4036c1 |
spl = r->layers[0].splines;
|
|
Kevin Fenzi |
4036c1 |
- r = r->next;
|
|
Kevin Fenzi |
4036c1 |
+ do { r = r->next; } while ( r!=NULL && r->layers[0].splines==NULL );
|
|
Kevin Fenzi |
4036c1 |
}
|
|
Kevin Fenzi |
4036c1 |
return( layer->splines );
|
|
Kevin Fenzi |
4036c1 |
}
|