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

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

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

Revision 41 Revision 51
51 (*result)->file = psiconv_clipart_file; 51 (*result)->file = psiconv_clipart_file;
52 (*result)->uid2 = 0; 52 (*result)->uid2 = 0;
53 (*result)->uid3 = 0; 53 (*result)->uid3 = 0;
54 (*result)->checksum = 0; 54 (*result)->checksum = 0;
55 len += 4; 55 len += 4;
56 psiconv_debug(lev+2,off+len,"File is a Clipart file");
56 goto DONE; 57 goto DONE;
57 } 58 }
58 if ((*result)->uid1 != PSICONV_ID_PSION5) { 59 if ((*result)->uid1 != PSICONV_ID_PSION5) {
59 psiconv_warn(lev+2,off+len,"UID1 has unknown value. This is probably " 60 psiconv_warn(lev+2,off+len,"UID1 has unknown value. This is probably "
60 "not a (parsable) Psion 5 file"); 61 "not a (parsable) Psion 5 file");
451 } else { 452 } else {
452 psiconv_debug(lev+4,off+len,"Type: %02x (not based on a paragraph type)" 453 psiconv_debug(lev+4,off+len,"Type: %02x (not based on a paragraph type)"
453 ,temp); 454 ,temp);
454 len += 0x01; 455 len += 0x01;
455 if (parse_styles) { 456 if (parse_styles) {
456 psiconv_progress(lev+4,off+len+psiconv_read_u32(buf,lev+4,off+len), 457 psiconv_progress(lev+4,off+len+psiconv_read_u32(buf,lev+4,off+len)+4,
457 "Going to read the paragraph element base style"); 458 "Going to read the paragraph element base style");
458 temp = psiconv_read_u8(buf,lev+4, 459 temp = psiconv_read_u8(buf,lev+4,
459 off+len+psiconv_read_u32(buf,lev+4,off+len)); 460 off+len+psiconv_read_u32(buf,lev+4,off+len)+4);
460 psiconv_debug(lev+4,off+len+psiconv_read_u32(buf,lev+4,off+len), 461 psiconv_debug(lev+4,off+len+psiconv_read_u32(buf,lev+4,off+len)+4,
461 "Style: %02x",temp); 462 "Style: %02x",temp);
462 } else 463 } else
463 temp = 0x00; 464 temp = 0x00;
464 psiconv_free_paragraph_layout(para->base_paragraph); 465 psiconv_free_paragraph_layout(para->base_paragraph);
465 psiconv_free_character_layout(para->base_character); 466 psiconv_free_character_layout(para->base_character);

Legend:
Removed from v.41  
changed lines
  Added in v.51

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