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

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

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

Revision 183 Revision 184
51 psiconv_progress(config,lev+2,off+len,"Going to read section id"); 51 psiconv_progress(config,lev+2,off+len,"Going to read section id");
52 temp = psiconv_read_u32(config,buf,lev+2,off+len,&res); 52 temp = psiconv_read_u32(config,buf,lev+2,off+len,&res);
53 if (res) 53 if (res)
54 goto ERROR2; 54 goto ERROR2;
55 if (temp != PSICONV_ID_TEXTED_BODY) { 55 if (temp != PSICONV_ID_TEXTED_BODY) {
56 psiconv_warn(config,lev+2,off+len, 56 psiconv_error(config,lev+2,off+len,
57 "Page header section body id not found"); 57 "Page header section body id not found");
58 psiconv_debug(config,lev+2,off+len, 58 psiconv_debug(config,lev+2,off+len,
59 "Page body id: read %08x, expected %08x",temp, 59 "Page body id: read %08x, expected %08x",temp,
60 PSICONV_ID_TEXTED); 60 PSICONV_ID_TEXTED);
61 res = -PSICONV_E_PARSE; 61 res = -PSICONV_E_PARSE;
132ERROR3: 132ERROR3:
133 psiconv_free_text_and_layout((*result)->paragraphs); 133 psiconv_free_text_and_layout((*result)->paragraphs);
134ERROR2: 134ERROR2:
135 free (*result); 135 free (*result);
136ERROR1: 136ERROR1:
137 psiconv_warn(config,lev+1,off,"Reading of TextEd Section failed"); 137 psiconv_error(config,lev+1,off,"Reading of TextEd Section failed");
138 if (length) 138 if (length)
139 *length = 0; 139 *length = 0;
140 if (!res) 140 if (!res)
141 return -PSICONV_E_NOMEM; 141 return -PSICONV_E_NOMEM;
142 else 142 else

Legend:
Removed from v.183  
changed lines
  Added in v.184

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