diff --git a/src/pc/djui/djui_chat_box.c b/src/pc/djui/djui_chat_box.c index 4dfa668c4..de1d588f6 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);