$NetBSD: patch-ag,v 1.2 2006/04/14 08:45:06 adam Exp $

--- fontforge/parsettf.c.orig	2006-03-30 07:53:44.000000000 +0200
+++ fontforge/parsettf.c
@@ -4253,7 +4253,7 @@ return;
 
 static int readttf(FILE *ttf, struct ttfinfo *info, char *filename) {
     char *oldloc;
-    int i;
+    int i, choice;
 
 #if !defined(FONTFORGE_CONFIG_NO_WINDOWING_UI)
     gwwv_progress_change_stages(3);
@@ -4282,12 +4282,12 @@ return( 0 );
 	buts[3] = NULL;
 #if defined(FONTFORGE_CONFIG_GDRAW)
 	buts[2] = _("_Cancel");
-	int choice = gwwv_ask(_("Pick a font, any font..."),(const char **) buts,0,2,_("This font contains both a TrueType 'glyf' table and an OpenType 'CFF ' table. FontForge can only deal with one at a time, please pick which one you want to use"));
+	choice = gwwv_ask(_("Pick a font, any font..."),(const char **) buts,0,2,_("This font contains both a TrueType 'glyf' table and an OpenType 'CFF ' table. FontForge can only deal with one at a time, please pick which one you want to use"));
 #elif defined(FONTFORGE_CONFIG_GTK)
 	buts[2] = GTK_STOCK_CANCEL;
-	int choice = gwwv_ask(_("Pick a font, any font..."),(const char **) buts,0,2,_("This font contains both a TrueType 'glyf' table and an OpenType 'CFF ' table. FontForge can only deal with one at a time, please pick which one you want to use"));
+	choice = gwwv_ask(_("Pick a font, any font..."),(const char **) buts,0,2,_("This font contains both a TrueType 'glyf' table and an OpenType 'CFF ' table. FontForge can only deal with one at a time, please pick which one you want to use"));
 #else
-	int choice = 0;
+	choice = 0;
 #endif
 	if ( choice==2 ) {
 	    setlocale(LC_NUMERIC,oldloc);
