forked from pool/fontforge
14 lines
553 B
Diff
14 lines
553 B
Diff
|
Index: fontforge-20120731-b/fontforge/contextchain.c
|
||
|
===================================================================
|
||
|
--- fontforge-20120731-b.orig/fontforge/contextchain.c
|
||
|
+++ fontforge-20120731-b/fontforge/contextchain.c
|
||
|
@@ -928,7 +928,7 @@ return;
|
||
|
uc_strcpy(ubuf,buf);
|
||
|
} else {
|
||
|
ubuf[0]=' ';
|
||
|
- utf82u_strncpy(ubuf-1,classes[cols*r+0].u.md_str,sizeof(ubuf)/sizeof(ubuf[0])-2 );
|
||
|
+ utf82u_strncpy(ubuf+1,classes[cols*r+0].u.md_str,sizeof(ubuf)/sizeof(ubuf[0])-2 );
|
||
|
ubuf[sizeof(ubuf)/sizeof(ubuf[0])-2] = '\0';
|
||
|
uc_strcat(ubuf," ");
|
||
|
}
|