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

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

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

Revision 216 Revision 217
233{ 233{
234 int res = 0; 234 int res = 0;
235 int len = 0; 235 int len = 0;
236 int leng; 236 int leng;
237 int bullet_length; 237 int bullet_length;
238 psiconv_u8 temp;
239 238
240 if (!(*result = malloc(sizeof(**result)))) 239 if (!(*result = malloc(sizeof(**result))))
241 goto ERROR1; 240 goto ERROR1;
242 (*result)->on = psiconv_bool_true; 241 (*result)->on = psiconv_bool_true;
243 242
254 if (res) 253 if (res)
255 goto ERROR2; 254 goto ERROR2;
256 len +=leng; 255 len +=leng;
257 256
258 psiconv_progress(config,lev+2,off+len,"Going to read bullet character"); 257 psiconv_progress(config,lev+2,off+len,"Going to read bullet character");
259 temp = psiconv_read_u8(config,buf,lev+2,off+len,&res);
260 if (res)
261 goto ERROR2;
262 (*result)->character = psiconv_unicode_from_char(config,temp); 258 (*result)->character = psiconv_unicode_read_char(config,buf,lev+2,
259 off+len,&leng,&res);
260 if (res)
261 goto ERROR2;
263 psiconv_debug(config,lev+2,off+len,"Character: %02x",(*result)->character); 262 psiconv_debug(config,lev+2,off+len,"Character: %02x",(*result)->character);
264 len ++; 263 len += leng;
265 264
266 psiconv_progress(config,lev+2,off+len,"Going to read indent on/off"); 265 psiconv_progress(config,lev+2,off+len,"Going to read indent on/off");
267 if ((res = psiconv_parse_bool(config,buf,lev+2,off+len,&leng,&(*result)->indent))) 266 if ((res = psiconv_parse_bool(config,buf,lev+2,off+len,&leng,&(*result)->indent)))
268 goto ERROR2; 267 goto ERROR2;
269 psiconv_debug(config,lev+2,off+len,"Indent on: %02x",(*result)->indent); 268 psiconv_debug(config,lev+2,off+len,"Indent on: %02x",(*result)->indent);

Legend:
Removed from v.216  
changed lines
  Added in v.217

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