Mercurial > projects > dwt-linux
diff dwt/internal/image/PngPlteChunk.d @ 240:ce446666f5a2
Update to SWT 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 12 May 2008 19:13:01 +0200 |
parents | 380bad9f6852 |
children | c0d810de7093 |
line wrap: on
line diff
--- a/dwt/internal/image/PngPlteChunk.d Mon May 12 15:36:37 2008 +0200 +++ b/dwt/internal/image/PngPlteChunk.d Mon May 12 19:13:01 2008 +0200 @@ -112,7 +112,7 @@ // Palette chunks' data fields must be event multiples // of 3. Each 3-byte group represents an RGB value. - if (getLength() % 3 !is 0) DWT.error(DWT.ERROR_INVALID_IMAGE); + if (getLength() % 3 !is 0) DWT.error(DWT.ERROR_INVALID_IMAGE); // Palettes cannot have more entries than 2^bitDepth // where bitDepth is the bit depth of the image given