From 43522c5f2a12dc0cf3cda733e4fb5c04cd62a154 Mon Sep 17 00:00:00 2001 From: scuri Date: Wed, 19 Aug 2009 18:39:31 +0000 Subject: *** empty log message *** --- src/im_format_pcx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/im_format_pcx.cpp') diff --git a/src/im_format_pcx.cpp b/src/im_format_pcx.cpp index fd206ae..d340927 100644 --- a/src/im_format_pcx.cpp +++ b/src/im_format_pcx.cpp @@ -2,7 +2,7 @@ * \brief PCX - ZSoft Picture * * See Copyright Notice in im_lib.h - * $Id: im_format_pcx.cpp,v 1.2 2008/12/03 15:45:34 scuri Exp $ + * $Id: im_format_pcx.cpp,v 1.3 2009/08/19 18:39:43 scuri Exp $ */ #include "im_format.h" @@ -300,7 +300,7 @@ int imFileFormatPCX::ReadImageInfo(int index) { attrib_table->Set("XResolution", IM_FLOAT, 1, &xres); attrib_table->Set("YResolution", IM_FLOAT, 1, &yres); - attrib_table->Set("ResolutionUnit", IM_BYTE, 4, "DPI"); + attrib_table->Set("ResolutionUnit", IM_BYTE, -1, "DPI"); } /* jump 3*16+1 bytes (colormap + reserved) */ -- cgit v1.2.3