4333ad47b1
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@867 6952d904-891a-0410-993b-d76249ca496b
23 lines
761 B
Diff
23 lines
761 B
Diff
Index: filter/image-png.c
|
|
===================================================================
|
|
--- filter/image-png.c (revision 8062)
|
|
+++ filter/image-png.c (working copy)
|
|
@@ -178,7 +178,7 @@
|
|
{
|
|
bufsize = img->xsize * img->ysize;
|
|
|
|
- if ((bufsize / img->ysize) != img->xsize)
|
|
+ if ((bufsize / img->xsize) != img->ysize)
|
|
{
|
|
fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n",
|
|
(unsigned)width, (unsigned)height);
|
|
@@ -190,7 +190,7 @@
|
|
{
|
|
bufsize = img->xsize * img->ysize * 3;
|
|
|
|
- if ((bufsize / (img->ysize * 3)) != img->xsize)
|
|
+ if ((bufsize / (img->xsize * 3)) != img->ysize)
|
|
{
|
|
fprintf(stderr, "DEBUG: PNG image dimensions (%ux%u) too large!\n",
|
|
(unsigned)width, (unsigned)height);
|