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 3a4a619193409c994e5bff3b6e154e539e312a92..048251a3ce669064c3e2d6149eccd95f60c9f54d 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;