--- psiconv/trunk/lib/psiconv/parse_common.c 2000/12/15 01:16:43 65 +++ psiconv/trunk/lib/psiconv/parse_common.c 2000/12/25 22:25:33 79 @@ -22,8 +22,8 @@ #include #include -#include "data.h" #include "parse_routines.h" +#include "error.h" static int psiconv_parse_layout_section(const psiconv_buffer buf, int lev,psiconv_u32 off, @@ -716,8 +716,8 @@ if (res) goto ERROR4; len += 1; - psiconv_debug(lev+4,off,"Type: %02x",temp); - psiconv_progress(lev+4,off, + psiconv_debug(lev+4,off+len,"Type: %02x",temp); + psiconv_progress(lev+4,off+len, "Going to read the number of characters it applies to"); in_line.length = psiconv_read_u32(buf,lev+4,len+off,&res); if (res) @@ -769,7 +769,7 @@ if (length) *length = len; - psiconv_progress(lev+1,off+len-1,"End of layout section (total length: %08x", + psiconv_progress(lev+1,off+len-1,"End of layout section (total length: %08x)", len); return 0; @@ -824,11 +824,11 @@ } int psiconv_parse_styleless_layout_section(const psiconv_buffer buf, - int lev,psiconv_u32 off, - int *length, - psiconv_text_and_layout result, - psiconv_character_layout base_char, - psiconv_paragraph_layout base_para) + int lev,psiconv_u32 off, + int *length, + psiconv_text_and_layout result, + const psiconv_character_layout base_char, + const psiconv_paragraph_layout base_para) { int res = 0; psiconv_word_styles_section styles_section;