mirror of https://github.com/OpenTTD/OpenTTD
(svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit.
parent
4ae352d288
commit
203b5eed27
|
@ -7,10 +7,9 @@
|
||||||
|
|
||||||
#include "console_func.h"
|
#include "console_func.h"
|
||||||
|
|
||||||
/* maximum length of a typed in command */
|
enum {
|
||||||
#define ICON_CMDLN_SIZE 255
|
ICON_CMDLN_SIZE = 1024, ///< maximum length of a typed in command
|
||||||
/* maximum length of a totally expanded command */
|
ICON_MAX_STREAMSIZE = 2048, ///< maximum length of a totally expanded command
|
||||||
#define ICON_MAX_STREAMSIZE 1024
|
|
||||||
|
|
||||||
enum IConsoleVarTypes {
|
enum IConsoleVarTypes {
|
||||||
ICONSOLE_VAR_BOOLEAN,
|
ICONSOLE_VAR_BOOLEAN,
|
||||||
|
|
|
@ -216,7 +216,7 @@ static uint32 GetTime()
|
||||||
|
|
||||||
static void DedicatedHandleKeyInput()
|
static void DedicatedHandleKeyInput()
|
||||||
{
|
{
|
||||||
static char input_line[200] = "";
|
static char input_line[1024] = "";
|
||||||
|
|
||||||
if (!InputWaiting()) return;
|
if (!InputWaiting()) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue