SHA256
1
0
forked from pool/fontforge
fontforge/invalid-operation-same-variable-used-twice.patch

13 lines
640 B
Diff

diff -ru fontforge-20061014.orig/fontforge/metricsview.c fontforge-20061014/fontforge/metricsview.c
--- fontforge-20061014.orig/fontforge/metricsview.c 2006-09-17 21:58:28.000000000 +0200
+++ fontforge-20061014/fontforge/metricsview.c 2006-10-17 15:27:55.000000000 +0200
@@ -1487,7 +1487,7 @@
break;
}
if ( i!=0 ) {
- for ( kp=kp=mv->vertical ? mv->perchar[i-1].sc->vkerns:mv->perchar[i-1].sc->kerns; kp!=NULL; kp=kp->next ) {
+ for ( kp = mv->vertical ? mv->perchar[i-1].sc->vkerns:mv->perchar[i-1].sc->kerns; kp!=NULL; kp=kp->next ) {
if ( kp->sc==mv->perchar[i].sc ) {
kp->sli = mv->cur_sli;
break;