diff --git a/plug-ins/gfig/gfig-style.c b/plug-ins/gfig/gfig-style.c index 6b5c4a0bb9..55121d9e08 100644 --- a/plug-ins/gfig/gfig-style.c +++ b/plug-ins/gfig/gfig-style.c @@ -573,6 +573,10 @@ gfig_style_copy (Style *style1, Style *style0, const gchar *name) { + if (style1 == style0) + /* Initializing the default style: return without copying */ + return; + if (name) style1->name = g_strdup (name); else