fix bugs 74, 'Crash opening editor window with pseudo-color display'

This commit is contained in:
Paul Mangan 2003-03-06 15:24:15 +00:00
parent ebc3d9f8ec
commit 746431187c

View file

@ -278,7 +278,7 @@ GtkAspell *gtkaspell_new(const gchar *dictionary,
if (!gtkaspeller)
return NULL;
gtkaspell = g_new(GtkAspell, 1);
gtkaspell = g_new0(GtkAspell, 1);
gtkaspell->gtkaspeller = gtkaspeller;
gtkaspell->alternate_speller = NULL;