--- psiconv/trunk/lib/psiconv/parse_sheet.c 2001/07/24 20:32:51 129 +++ psiconv/trunk/lib/psiconv/parse_sheet.c 2001/07/24 22:31:57 131 @@ -508,7 +508,7 @@ goto ERROR1; psiconv_progress(lev+2,off+len, - "Going to read the initial byte (%02x or $02xexpected)", + "Going to read the initial byte (%02x or %02x expected)", 0x02,0x04); temp = psiconv_read_u8(buf,lev+2,off+len,&res); if (res) @@ -586,7 +586,6 @@ if (with_name) { psiconv_progress(lev+2,off+len,"Going to read the name section"); - if ((res = psiconv_parse_sheet_name_section(buf,lev+2,name_off,NULL, &(*result)->name))) goto ERROR6; @@ -675,7 +674,7 @@ { int res=0; psiconv_u32 temp; - int len=0; + int len=0,leng; psiconv_progress(lev+1,off,"Going to read the sheet info section"); if (!(*result = malloc(sizeof(**result)))) @@ -693,6 +692,13 @@ } len ++; + psiconv_progress(lev+2,off+len, "Going to read an unknown Xint"); + temp = psiconv_read_X(buf,lev+2,off+len,&leng,&res); + if (res) + goto ERROR2; + psiconv_debug(lev+2,off+len,"Value: %d\n",temp); + len += leng; + psiconv_progress(lev+2,off+len, "Going to read the flags byte"); temp = psiconv_read_u8(buf,lev+2,off+len,&res); if (res)