fix bug with alpha palettes

This commit is contained in:
David Rose 2004-03-17 01:57:30 +00:00
parent 9242d5f932
commit 9bb1585a04

View File

@ -262,7 +262,7 @@ Reader(PNMFileType *type, istream *file, bool owns_file, string magic_number) :
png_set_palette_to_rgb(_png);
_maxval = 255;
_num_channels = 3;
return;
break;
default:
pnmimage_png_cat.error()