diff options
Diffstat (limited to 'fonts/fontforge/patches/patch-ah')
-rw-r--r-- | fonts/fontforge/patches/patch-ah | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fonts/fontforge/patches/patch-ah b/fonts/fontforge/patches/patch-ah index 46d960c85c9..8e6331e92b5 100644 --- a/fonts/fontforge/patches/patch-ah +++ b/fonts/fontforge/patches/patch-ah @@ -1,10 +1,10 @@ -$NetBSD: patch-ah,v 1.1 2006/04/05 07:03:25 adam Exp $ +$NetBSD: patch-ah,v 1.2 2006/04/14 08:45:06 adam Exp $ ---- fontforge/savefontdlg.c.orig 2006-04-04 11:44:50.000000000 +0200 +--- fontforge/savefontdlg.c.orig 2006-04-13 19:56:36.000000000 +0200 +++ fontforge/savefontdlg.c -@@ -2143,6 +2143,12 @@ static void DoSave(struct gfc_data *d,un +@@ -2218,6 +2218,13 @@ static void DoSave(struct gfc_data *d,un struct sflist *sfs=NULL, *cur, *last=NULL; - static int psscalewarned=0, ttfscalewarned=0; + static int psscalewarned=0, ttfscalewarned=0, psfnlenwarned=0; int flags; + struct sflist *sfl; + char **former; @@ -12,10 +12,11 @@ $NetBSD: patch-ah,v 1.1 2006/04/05 07:03:25 adam Exp $ + GTextInfo *ti = GGadgetGetListItemSelected(d->rename); + char *nlname = u2utf8_copy(ti->text); + extern NameList *force_names_when_saving; ++ int notdef_pos = SFFindNotdef(d->sf,-1); #if defined(FONTFORGE_CONFIG_GDRAW) char *buts[3]; buts[0] = _("_Yes"); -@@ -2151,12 +2157,6 @@ static void DoSave(struct gfc_data *d,un +@@ -2226,13 +2233,6 @@ static void DoSave(struct gfc_data *d,un #elif defined(FONTFORGE_CONFIG_GTK) static char *buts[] = { GTK_STOCK_YES, GTK_STOCK_NO, NULL }; #endif @@ -25,6 +26,7 @@ $NetBSD: patch-ah,v 1.1 2006/04/05 07:03:25 adam Exp $ - GTextInfo *ti = GGadgetGetListItemSelected(d->rename); - char *nlname = u2utf8_copy(ti->text); - extern NameList *force_names_when_saving; +- int notdef_pos = SFFindNotdef(d->sf,-1); rename_to = NameListByName(nlname); free(nlname); |