… | |
… | |
66 | (*result)->file = psiconv_word_file; |
66 | (*result)->file = psiconv_word_file; |
67 | psiconv_debug(lev+2,off+len,"File is a Word file"); |
67 | psiconv_debug(lev+2,off+len,"File is a Word file"); |
68 | } else if ((*result)->uid3 == PSICONV_ID_TEXTED) { |
68 | } else if ((*result)->uid3 == PSICONV_ID_TEXTED) { |
69 | (*result)->file = psiconv_texted_file; |
69 | (*result)->file = psiconv_texted_file; |
70 | psiconv_debug(lev+2,off+len,"File is a TextEd file"); |
70 | psiconv_debug(lev+2,off+len,"File is a TextEd file"); |
|
|
71 | } else if ((*result)->uid3 == PSICONV_ID_SKETCH) { |
|
|
72 | (*result)->file = psiconv_sketch_file; |
|
|
73 | psiconv_debug(lev+2,off+len,"File is a Sketch file"); |
71 | } |
74 | } |
72 | } else if ((*result)->uid2 == PSICONV_ID_MBM_FILE) { |
75 | } else if ((*result)->uid2 == PSICONV_ID_MBM_FILE) { |
73 | (*result)->file = psiconv_mbm_file; |
76 | (*result)->file = psiconv_mbm_file; |
74 | if ((*result)->uid3 != 0x00) |
77 | if ((*result)->uid3 != 0x00) |
75 | psiconv_warn(lev+2,off+len,"UID3 set in MBM file?!?"); |
78 | psiconv_warn(lev+2,off+len,"UID3 set in MBM file?!?"); |
76 | psiconv_debug(lev+2,off+len,"File is a MBM file"); |
79 | psiconv_debug(lev+2,off+len,"File is a MBM file"); |
… | |
… | |
144 | |
147 | |
145 | if (length) |
148 | if (length) |
146 | *length = len; |
149 | *length = len; |
147 | |
150 | |
148 | psiconv_progress(lev+1,off+len-1,"End of section table section " |
151 | psiconv_progress(lev+1,off+len-1,"End of section table section " |
149 | "(total length: %08x", len); |
152 | "(total length: %08x)", len); |
150 | |
153 | |
151 | return res; |
154 | return res; |
152 | } |
155 | } |
153 | |
156 | |
154 | int psiconv_parse_application_id_section(const psiconv_buffer buf, int lev, |
157 | int psiconv_parse_application_id_section(const psiconv_buffer buf, int lev, |