From dad54c3dd33e1f4143dbc6b27ea17d80418143f7 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Sun, 1 Sep 2024 19:00:04 -0400 Subject: [PATCH] Fix socket warning text cutting off early --- src/pc/djui/djui_panel_host_message.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pc/djui/djui_panel_host_message.c b/src/pc/djui/djui_panel_host_message.c index af08f5fc..ccb05ed9 100644 --- a/src/pc/djui/djui_panel_host_message.c +++ b/src/pc/djui/djui_panel_host_message.c @@ -47,11 +47,10 @@ void djui_panel_host_message_do_host(UNUSED struct DjuiBase* caller) { } void djui_panel_host_message_create(struct DjuiBase* caller) { - f32 warningLines = 0; char* warningMessage = NULL; bool hideHostButton = false; - warningLines = 7; + f32 warningLines = 8; warningMessage = calloc(512, sizeof(char)); snprintf(warningMessage, 512, DLANG(HOST_MESSAGE, WARN_SOCKET), configHostPort);