--- psiconv/trunk/lib/psiconv/parse_word.c 2000/12/15 00:21:51 64 +++ psiconv/trunk/lib/psiconv/parse_word.c 2000/12/22 22:31:50 71 @@ -18,8 +18,12 @@ */ #include "config.h" +#include "compat.h" + #include + #include "parse_routines.h" +#include "error.h" int psiconv_parse_word_status_section(const psiconv_buffer buf, int lev, psiconv_u32 off, int *length, @@ -306,14 +310,14 @@ psiconv_debug(lev+3,off+len,"Outline Level: %08x", style->outline_level); len += 4; psiconv_progress(lev+3,off+len,"Going to read the character codes"); - if (!(style->character = psiconv_basic_character_layout())) + if (!(style->character = psiconv_clone_character_layout((*result)->normal->character))) goto ERROR6; if ((res = psiconv_parse_character_layout_list(buf,lev+3,off+len,&leng, style->character))) goto ERROR7; len += leng; psiconv_progress(lev+3,off+len,"Going to read the paragraph codes"); - if (!(style->paragraph = psiconv_basic_paragraph_layout())) + if (!(style->paragraph = psiconv_clone_paragraph_layout((*result)->normal->paragraph))) goto ERROR7; if ((res = psiconv_parse_paragraph_layout_list(buf,lev+3,off+len,&leng, style->paragraph)))