From 2aed18ba52fee53c2f60b81fb9f38afcbd749346 Mon Sep 17 00:00:00 2001 From: Fizban Date: Thu, 1 Mar 2012 01:56:47 +0000 Subject: [PATCH] Raised the size of MAX_RAW_INPUT_LENGTH so larger amounts of text can be pasted into editors at once --- src/structs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structs.h b/src/structs.h index 04cd1f1..34613d0 100644 --- a/src/structs.h +++ b/src/structs.h @@ -596,7 +596,7 @@ #define MAX_STRING_LENGTH 49152 /**< Max length of string, as defined */ #define MAX_INPUT_LENGTH 512 /**< Max length per *line* of input */ -#define MAX_RAW_INPUT_LENGTH 1024 /**< Max size of *raw* input */ +#define MAX_RAW_INPUT_LENGTH (12 * 1024) /**< Max size of *raw* input */ #define MAX_MESSAGES 60 /**< Max Different attack message types */ #define MAX_NAME_LENGTH 20 /**< Max PC/NPC name length */ #define MAX_PWD_LENGTH 30 /**< Max PC password length */