From 9cc84754c2f50204ae658d31a75d15f16e118be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20CHAMOULAUD?= Date: Sun, 17 Aug 2003 19:19:24 +0000 Subject: Applied a patch from Michael Culbertson * src/layeng/cr-lay-eng.c: (layout_block_box): * src/seleng/cr-sel-eng.c: (put_css_properties_in_hashtable): Applied a patch from Michael Culbertson -> Compilation failed with gcc 2.95.4 due to declarations after calls to g_return_val_if_fail and the like. --- src/layeng/cr-lay-eng.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/layeng/cr-lay-eng.c') diff --git a/src/layeng/cr-lay-eng.c b/src/layeng/cr-lay-eng.c index ad82aec..161961d 100644 --- a/src/layeng/cr-lay-eng.c +++ b/src/layeng/cr-lay-eng.c @@ -1214,11 +1214,12 @@ layout_block_box (CRLayEng *a_this, CRBox *a_cur_box) { enum CRStatus status = CR_OK ; + CRBox *cont_box = NULL; g_return_val_if_fail (a_cur_box && a_cur_box->style, CR_BAD_PARAM_ERROR) ; - CRBox *cont_box = a_cur_box->parent ; + cont_box = a_cur_box->parent ; /************************************ *We are in a block formating context -- cgit v1.2.1