blob: 4cf32116e6f8016704c4cc40197464858dda26a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ai,v 1.3 2006/04/19 19:43:18 rillig Exp $
gcc 2.95 does not like declarations intermixed with code.
--- fontforge/charinfo.c.orig 2006-03-24 22:54:58.000000000 +0100
+++ fontforge/charinfo.c 2006-04-19 21:41:30.000000000 +0200
@@ -4288,13 +4288,13 @@ return( true );
static int CI_NameCheck(const unichar_t *name) {
int bad, questionable;
+ extern int allow_utf8_glyphnames;
#if defined(FONTFORGE_CONFIG_GDRAW)
char *buts[3];
buts[0] = _("_Yes"); buts[1]=_("_No"); buts[2] = NULL;
#elif defined(FONTFORGE_CONFIG_GTK)
static char *buts[] = { GTK_STOCK_YES, GTK_STOCK_CANCEL, NULL };
#endif
- extern int allow_utf8_glyphnames;
if ( uc_strcmp(name,".notdef")==0 ) /* This name is a special case and doesn't follow conventions */
return( true );
|