Fix socket warning text cutting off early

This commit is contained in:
Agent X 2024-09-01 19:00:04 -04:00
parent e6edb61dfb
commit dad54c3dd3
1 changed files with 1 additions and 2 deletions

View File

@ -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);