summaryrefslogtreecommitdiff
path: root/src/console_internal.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-12 20:31:49 +0000
committerrubidium <rubidium@openttd.org>2008-08-12 20:31:49 +0000
commit203b5eed278040b7ecb41a2a2ef5ae27a9b0ec21 (patch)
tree75ac870129a02e9b519511dabcec2ea9ad586ad5 /src/console_internal.h
parent4ae352d288257aa7566775c1db1f35435cc751d9 (diff)
downloadopenttd-203b5eed278040b7ecb41a2a2ef5ae27a9b0ec21.tar.xz
(svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit.
Diffstat (limited to 'src/console_internal.h')
-rw-r--r--src/console_internal.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/console_internal.h b/src/console_internal.h
index e1cd2d739..64603806f 100644
--- a/src/console_internal.h
+++ b/src/console_internal.h
@@ -7,10 +7,9 @@
#include "console_func.h"
-/* maximum length of a typed in command */
-#define ICON_CMDLN_SIZE 255
-/* maximum length of a totally expanded command */
-#define ICON_MAX_STREAMSIZE 1024
+enum {
+ ICON_CMDLN_SIZE = 1024, ///< maximum length of a typed in command
+ ICON_MAX_STREAMSIZE = 2048, ///< maximum length of a totally expanded command
enum IConsoleVarTypes {
ICONSOLE_VAR_BOOLEAN,