fix bugs 74, 'Crash opening editor window with pseudo-color display'
authorPaul Mangan <paul@claws-mail.org>
Thu, 6 Mar 2003 15:24:15 +0000 (15:24 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 6 Mar 2003 15:24:15 +0000 (15:24 +0000)
src/gtkaspell.c

index 3a4a619..048251a 100644 (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;