--- psiconv/trunk/lib/psiconv/parse_common.c 1999/10/30 22:28:54 25 +++ psiconv/trunk/lib/psiconv/parse_common.c 1999/12/03 00:59:12 41 @@ -46,6 +46,15 @@ psiconv_progress(lev+2,off+len,"Going to read UID1 to UID3"); (*result)->uid1 = psiconv_read_u32(buf,lev+2,off+len); psiconv_debug(lev+2,off+len,"UID1: %08x",(*result)->uid1); + if ((*result)->uid1 == PSICONV_ID_CLIPART) { + /* That's all folks... */ + (*result)->file = psiconv_clipart_file; + (*result)->uid2 = 0; + (*result)->uid3 = 0; + (*result)->checksum = 0; + len += 4; + goto DONE; + } if ((*result)->uid1 != PSICONV_ID_PSION5) { psiconv_warn(lev+2,off+len,"UID1 has unknown value. This is probably " "not a (parsable) Psion 5 file"); @@ -97,7 +106,8 @@ res = -1; } len += 4; - + +DONE: if (length) *length = len;