From: Jim Evins Date: Sat, 31 Oct 2009 03:54:47 +0000 (-0400) Subject: Copy all fields when duplicating glMergeText object. X-Git-Tag: glabels-2_3_0~144 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=397ea71c27af9920b71c3fbf197ffe8a10d6583b;p=glabels Copy all fields when duplicating glMergeText object. Copy n_fields_max field when duplicating glMergeText object. --- diff --git a/src/merge-text.c b/src/merge-text.c index 201254af..b502a871 100644 --- a/src/merge-text.c +++ b/src/merge-text.c @@ -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; }