summaryrefslogtreecommitdiff
path: root/textproc/xmlroff/files/patch-property-fo-property-id.c
blob: ba29328437203984f2ae23b38f68a0c6b78c5bbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- property/fo-property-id.c.orig	Mon Jan 30 23:46:23 2006
+++ property/fo-property-id.c	Mon Jan 30 23:46:44 2006
@@ -262,10 +262,11 @@
 {
   static int count = 1;
   FoProperty *id;
+  gchar *id_string = NULL;
 
   id = fo_property_id_new ();
 
-  gchar * id_string = g_strdup_printf ("id-%d",
+  id_string = g_strdup_printf ("id-%d",
 				       count++);
   /* Set the initial value here */
   fo_property_set_value (id,