diff options
author | Gaël CHAMOULAUD <strider@src.gnome.org> | 2003-08-17 19:19:24 +0000 |
---|---|---|
committer | Gaël CHAMOULAUD <strider@src.gnome.org> | 2003-08-17 19:19:24 +0000 |
commit | 9cc84754c2f50204ae658d31a75d15f16e118be6 (patch) | |
tree | d7aa8741da5c55641731982f22c7c96f35a5c88b /src/layeng/cr-lay-eng.c | |
parent | ddff7a9bb96a6ab82baa1996700a2728005d574a (diff) | |
download | libcroco-9cc84754c2f50204ae658d31a75d15f16e118be6.tar.gz |
Applied a patch from Michael Culbertson <Michael.J.Culbertson@wheaton.edu>
* 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 <Michael.J.Culbertson@wheaton.edu>
-> Compilation failed with gcc 2.95.4 due to declarations after calls to
g_return_val_if_fail and the like.
Diffstat (limited to 'src/layeng/cr-lay-eng.c')
-rw-r--r-- | src/layeng/cr-lay-eng.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |