diff src/image.hh @ 1202:f77f7973534e

use IMAGE_MAX_AREA instead of IMAGE_MAX_W and IMAGE_MAX_H
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 29 Jun 2009 18:59:45 +0200
parents 97b68213b58e
children e59742ef792a
line wrap: on
line diff
--- a/src/image.hh	Sat Jun 27 14:45:41 2009 +0000
+++ b/src/image.hh	Mon Jun 29 18:59:45 2009 +0200
@@ -17,9 +17,7 @@
  */
 
 /* Arbitrary maximum for image size (to avoid image size-crafting attacks). */
-#define IMAGE_MAX_W  6000
-#define IMAGE_MAX_H  6000
-
+#define IMAGE_MAX_AREA (6000 * 6000)
 
 /*
  * Types