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

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

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

Revision 168 Revision 196
1/* 1/*
2 parse_page.c - Part of psiconv, a PSION 5 file formats converter 2 parse_page.c - Part of psiconv, a PSION 5 file formats converter
3 Copyright (c) 1999, 2000 Frodo Looijaard <frodol@dds.nl> 3 Copyright (c) 1999-2004 Frodo Looijaard <frodol@dds.nl>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
128ERROR3: 128ERROR3:
129 psiconv_free_paragraph_layout((*result)->base_paragraph_layout); 129 psiconv_free_paragraph_layout((*result)->base_paragraph_layout);
130ERROR2: 130ERROR2:
131 free (*result); 131 free (*result);
132ERROR1: 132ERROR1:
133 psiconv_warn(config,lev+1,off,"Reading of Page Header failed"); 133 psiconv_error(config,lev+1,off,"Reading of Page Header failed");
134 if (length) 134 if (length)
135 *length = 0; 135 *length = 0;
136 if (!res) 136 if (!res)
137 return -PSICONV_E_NOMEM; 137 return -PSICONV_E_NOMEM;
138 else 138 else
263ERROR3: 263ERROR3:
264 psiconv_free_page_header((*result)->header); 264 psiconv_free_page_header((*result)->header);
265ERROR2: 265ERROR2:
266 free (*result); 266 free (*result);
267ERROR1: 267ERROR1:
268 psiconv_warn(config,lev+1,off,"Reading of Page Section failed"); 268 psiconv_error(config,lev+1,off,"Reading of Page Section failed");
269 if (length) 269 if (length)
270 *length = 0; 270 *length = 0;
271 if (!res) 271 if (!res)
272 return -PSICONV_E_NOMEM; 272 return -PSICONV_E_NOMEM;
273 else 273 else

Legend:
Removed from v.168  
changed lines
  Added in v.196

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