summaryrefslogtreecommitdiff
path: root/src/image.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-06-29 18:59:45 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-06-29 18:59:45 +0200
commit3d56a7fc6ed2fd52b7da2fc4209233cbbc04c761 (patch)
tree32a87b1b2d938e387217dd0a5d760d31410a1b4c /src/image.hh
parent2bd7d5e9376d920eed6859332163334c15de4b9d (diff)
use IMAGE_MAX_AREA instead of IMAGE_MAX_W and IMAGE_MAX_H
Diffstat (limited to 'src/image.hh')
-rw-r--r--src/image.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/image.hh b/src/image.hh
index 8291ffb4..530e71f2 100644
--- a/src/image.hh
+++ b/src/image.hh
@@ -17,9 +17,7 @@ extern "C" {
*/
/* 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