]> git.sur5r.net Git - glabels/commitdiff
Copy all fields when duplicating glMergeText object.
authorJim Evins <evins@snaught.com>
Sat, 31 Oct 2009 03:54:47 +0000 (23:54 -0400)
committerJim Evins <evins@snaught.com>
Sat, 31 Oct 2009 03:54:47 +0000 (23:54 -0400)
Copy n_fields_max field when duplicating glMergeText object.

src/merge-text.c

index 201254afeafc50b66fca52637fdef665a426acda..b502a871cb118ff08b60bfb119873ccc17e676dd 100644 (file)
@@ -460,6 +460,8 @@ gl_merge_text_copy (glMerge *dst_merge,
                 g_ptr_array_add (dst_merge_text->priv->keys,
                                  g_strdup ((gchar *)g_ptr_array_index (src_merge_text->priv->keys, i)));
         }
+
+       dst_merge_text->priv->n_fields_max   = src_merge_text->priv->n_fields_max;
 }