From 5ad04479f8b19c3ae064bb7fc505cda2a6288c15 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Fri, 5 Jul 2024 19:46:03 -0400 Subject: [PATCH] Fix chatbox --- src/pc/djui/djui_chat_box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/djui/djui_chat_box.c b/src/pc/djui/djui_chat_box.c index 4dfa668c..de1d588f 100644 --- a/src/pc/djui/djui_chat_box.c +++ b/src/pc/djui/djui_chat_box.c @@ -544,7 +544,7 @@ struct DjuiChatBox* djui_chat_box_create(void) { cfBase->abandonAfterChildRenderFail = true; chatBox->chatFlow = chatFlow; - struct DjuiInputbox* chatInput = djui_inputbox_create(base, 200); + struct DjuiInputbox* chatInput = djui_inputbox_create(base, MAX_MSG_LENGTH); struct DjuiBase* ciBase = &chatInput->base; djui_base_set_size_type(ciBase, DJUI_SVT_RELATIVE, DJUI_SVT_ABSOLUTE); djui_base_set_size(ciBase, 1.0f, 32);