--- psiconv/trunk/lib/psiconv/parse_image.c 2004/01/04 22:20:43 183 +++ psiconv/trunk/lib/psiconv/parse_image.c 2004/01/06 20:15:01 184 @@ -109,7 +109,7 @@ ERROR2: psiconv_list_free(*result); ERROR1: - psiconv_warn(config,lev+1,off,"Reading of Jumptable Section failed"); + psiconv_error(config,lev+1,off,"Reading of Jumptable Section failed"); if (length) *length = 0; if (!res) @@ -153,7 +153,7 @@ if (res) goto ERROR3; if (offset != 0x28) { - psiconv_warn(config,lev+2,off+len, + psiconv_error(config,lev+2,off+len, "Paint data section data offset has unexpected value"); psiconv_debug(config,lev+2,off+len, "Data offset: read %08x, expected %08x",offset,0x28); @@ -362,7 +362,7 @@ ERROR2: free(*result); ERROR1: - psiconv_warn(config,lev+1,off,"Reading of Paint Data Section failed"); + psiconv_error(config,lev+1,off,"Reading of Paint Data Section failed"); if (length) *length = 0; if (!res) @@ -527,7 +527,7 @@ ERROR2: free (*result); ERROR1: - psiconv_warn(config,lev+1,off,"Reading of Sketch Section failed"); + psiconv_error(config,lev+1,off,"Reading of Sketch Section failed"); if (length) *length = 0; if (!res) @@ -630,7 +630,7 @@ ERROR2: free (*result); ERROR1: - psiconv_warn(config,lev+1,off,"Reading of Font failed"); + psiconv_error(config,lev+1,off,"Reading of Font failed"); if (length) *length = 0; if (!res) @@ -691,7 +691,7 @@ ERROR2: psiconv_list_free(*decoded); ERROR1: - psiconv_warn(config,lev+1,off,"Decoding of RLE8 failed"); + psiconv_error(config,lev+1,off,"Decoding of RLE8 failed"); if (!res) return -PSICONV_E_NOMEM; else @@ -734,7 +734,7 @@ ERROR2: psiconv_list_free(*decoded); ERROR1: - psiconv_warn(config,lev+1,off,"Decoding of RLE12 failed"); + psiconv_error(config,lev+1,off,"Decoding of RLE12 failed"); if (!res) return -PSICONV_E_NOMEM; else @@ -800,7 +800,7 @@ ERROR2: psiconv_list_free(*decoded); ERROR1: - psiconv_warn(config,lev+1,off,"Decoding of RLE16 failed"); + psiconv_error(config,lev+1,off,"Decoding of RLE16 failed"); if (!res) return -PSICONV_E_NOMEM; else @@ -870,7 +870,7 @@ ERROR2: psiconv_list_free(*decoded); ERROR1: - psiconv_warn(config,lev+1,off,"Decoding of RLE24 failed"); + psiconv_error(config,lev+1,off,"Decoding of RLE24 failed"); if (!res) return -PSICONV_E_NOMEM; else @@ -937,7 +937,7 @@ ERROR2: psiconv_list_free(*pixels); ERROR1: - psiconv_warn(config,lev+1,off,"Converting bytes to pixels failed"); + psiconv_error(config,lev+1,off,"Converting bytes to pixels failed"); if (!res) return -PSICONV_E_NOMEM; else @@ -1011,7 +1011,7 @@ ERROR2: free((*floats).red); ERROR1: - psiconv_warn(config,lev+1,off,"Converting pixels to floats failed"); + psiconv_error(config,lev+1,off,"Converting pixels to floats failed"); if (!res) return -PSICONV_E_NOMEM; else