--- psiconv/trunk/lib/psiconv/parse_word.c 2000/12/27 23:20:45 82 +++ psiconv/trunk/lib/psiconv/parse_word.c 2000/12/27 23:56:18 83 @@ -326,7 +326,7 @@ } psiconv_progress(lev+2,off+len,"Reading trailing bytes"); - for (i = 0; i < 3; i++) { + for (i = 0; i < psiconv_list_length((*result)->styles); i++) { temp = psiconv_read_u8(buf,lev+3,off+len,&res); if (res) goto ERROR4;