/[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 111 Revision 142
23#include <stdlib.h> 23#include <stdlib.h>
24#include <string.h> 24#include <string.h>
25 25
26#include "parse_routines.h" 26#include "parse_routines.h"
27#include "error.h" 27#include "error.h"
28
29#ifdef DMALLOC
30#include <dmalloc.h>
31#endif
32
28 33
29int psiconv_parse_page_header(const psiconv_buffer buf,int lev,psiconv_u32 off, 34int psiconv_parse_page_header(const psiconv_buffer buf,int lev,psiconv_u32 off,
30 int *length,psiconv_page_header *result) 35 int *length,psiconv_page_header *result)
31{ 36{
32 int res = 0; 37 int res = 0;
103 &(*result)->text, 108 &(*result)->text,
104 (*result)->base_character_layout, 109 (*result)->base_character_layout,
105 (*result)->base_paragraph_layout))) 110 (*result)->base_paragraph_layout)))
106 goto ERROR4; 111 goto ERROR4;
107 len += leng; 112 len += leng;
113 } else {
114 (*result)->text = NULL;
108 } 115 }
109 116
110 if (length) 117 if (length)
111 *length = len; 118 *length = len;
112 119

Legend:
Removed from v.111  
changed lines
  Added in v.142

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