summaryrefslogtreecommitdiff
path: root/textproc/xmlroff/files/patch-fo-fo-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xmlroff/files/patch-fo-fo-table.c')
-rw-r--r--textproc/xmlroff/files/patch-fo-fo-table.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/xmlroff/files/patch-fo-fo-table.c b/textproc/xmlroff/files/patch-fo-fo-table.c
new file mode 100644
index 000000000000..2c95040f7263
--- /dev/null
+++ b/textproc/xmlroff/files/patch-fo-fo-table.c
@@ -0,0 +1,19 @@
+--- fo/fo-table.c.orig Mon Jan 30 21:59:46 2006
++++ fo/fo-table.c Mon Jan 30 22:00:08 2006
+@@ -1700,6 +1700,7 @@
+ FoDatatype *column_proportional = NULL;
+ FoContext *parent_context = NULL;
+ GError *tmp_error = NULL;
++ gchar *string_value = NULL;
+
+ g_return_val_if_fail (error == NULL || *error == NULL, NULL);
+
+@@ -1715,7 +1716,7 @@
+ parent_context =
+ fo_fo_get_context (FO_FO (fo_node_parent (FO_NODE (table_column))));
+
+- gchar *string_value = fo_string_get_value (column_width_string);
++ string_value = fo_string_get_value (column_width_string);
+ column_proportional =
+ fo_expr_eval (string_value,
+ "column-width",