diff src/prefs.c @ 3473:0073a014e55b

[gaim-migrate @ 3524] Fixed font preferences, and removed the title from alert windows. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 30 Aug 2002 03:04:12 +0000
parents d33ec392a5e1
children cfbdfe334975
line wrap: on
line diff
--- a/src/prefs.c	Thu Aug 29 21:40:08 2002 +0000
+++ b/src/prefs.c	Fri Aug 30 03:04:12 2002 +0000
@@ -1919,13 +1919,14 @@
 	int i = 0;
 	char *fontname;
 
-	fontname = g_strdup(gtk_font_selection_dialog_get_font_name(GTK_FONT_SELECTION_DIALOG(fontseld)));
+	fontname = g_strdup(gtk_font_selection_dialog_get_font_name(GTK_FONT_SELECTION_DIALOG(f)));
 	destroy_fontsel(0, 0);
 
 	while(fontname[i] && !isdigit(fontname[i]) && i < sizeof(fontface_new)) { 
 		fontface_new[i] = fontname[i];
 		i++;
 	}
-	
+	fontface_new[i] = 0;
+	debug_printf("fontface_new: %s\n", fontface_new);
 	g_free(fontname);
 }