mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
fixed maximum chat message length on client-side. #1151
This commit is contained in:
parent
490b8b3381
commit
2448ed14f0
|
@ -11,7 +11,7 @@ class CLineInput
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
MAX_SIZE=512,
|
MAX_SIZE=512,
|
||||||
MAX_CHARS=MAX_SIZE/4,
|
MAX_CHARS=MAX_SIZE/4-1,
|
||||||
};
|
};
|
||||||
char m_Str[MAX_SIZE];
|
char m_Str[MAX_SIZE];
|
||||||
int m_Len;
|
int m_Len;
|
||||||
|
|
Loading…
Reference in a new issue