/[public]/psiconv/trunk/lib/psiconv/parse_common.c
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/parse_common.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2 Revision 18
66 psiconv_debug(lev+2,off+len,"File is a Word file"); 66 psiconv_debug(lev+2,off+len,"File is a Word file");
67 } else if ((*result)->uid3 == PSICONV_ID_TEXTED) { 67 } else if ((*result)->uid3 == PSICONV_ID_TEXTED) {
68 (*result)->file = psiconv_texted_file; 68 (*result)->file = psiconv_texted_file;
69 psiconv_debug(lev+2,off+len,"File is a TextEd file"); 69 psiconv_debug(lev+2,off+len,"File is a TextEd file");
70 } 70 }
71 } else if ((*result)->uid2 == PSICONV_ID_MBM_FILE) {
72 (*result)->file = psiconv_mbm_file;
73 if ((*result)->uid3 != 0x00)
74 psiconv_warn(lev+2,off+len,"UID3 set in MBM file?!?");
75 psiconv_debug(lev+2,off+len,"File is a MBM file");
71 } 76 }
72 } 77 }
73 if ((*result)->file == psiconv_unknown_file) { 78 if ((*result)->file == psiconv_unknown_file) {
74 psiconv_warn(lev+2,off+len,"Unknown file type"); 79 psiconv_warn(lev+2,off+len,"Unknown file type");
75 (*result)->file = psiconv_unknown_file; 80 (*result)->file = psiconv_unknown_file;
76 } 81 }
87 (*result)->uid3),temp); 92 (*result)->uid3),temp);
88 res = -1; 93 res = -1;
89 } 94 }
90 len += 4; 95 len += 4;
91 96
92 psiconv_progress(lev+2,off+len,"Going to read Section Table Section offset");
93 (*result)->section_table_offset = psiconv_read_u32(buf,lev+2,off+len);
94 psiconv_debug(lev+2,off+len,"Section Table Section starts at offset %08x",
95 (*result)->section_table_offset) ;
96 len += 4;
97
98 if (length) 97 if (length)
99 *length = len; 98 *length = len;
100 99
101 psiconv_progress(lev+1,off+len-1, 100 psiconv_progress(lev+1,off+len-1,
102 "End of Header Section (total length: %08x)",len); 101 "End of Header Section (total length: %08x)",len);

Legend:
Removed from v.2  
changed lines
  Added in v.18

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26