diff --git a/MagickCore/method-attribute.h b/MagickCore/method-attribute.h index 0a3f9b20fc..b5722f53cb 100644 --- a/MagickCore/method-attribute.h +++ b/MagickCore/method-attribute.h @@ -103,7 +103,7 @@ extern "C" { #define MagickSignature 0xabacadabUL #if !defined(MaxTextExtent) -# define MaxTextExtent 131072 /* always >= 4096 */ +# define MaxTextExtent (16*8192-2) /* always >= 4096 */ #endif #if defined(MAGICKCORE_HAVE___ATTRIBUTE__) diff --git a/MagickWand/method-attribute.h b/MagickWand/method-attribute.h index d6b27476f3..c87fd24bcb 100644 --- a/MagickWand/method-attribute.h +++ b/MagickWand/method-attribute.h @@ -96,7 +96,7 @@ extern "C" { #define WandSignature 0xabacadabUL #if !defined(MaxTextExtent) -# define MaxTextExtent 131072 +# define MaxTextExtent (16*8192-2) #endif #if defined(MAGICKCORE_HAVE___ATTRIBUTE__)