From fdaf425e8419babf1fb047812535ba3881160a63 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:27:41 -0400 Subject: [PATCH] This should fix a DJUI base crash --- src/pc/djui/djui_base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pc/djui/djui_base.c b/src/pc/djui/djui_base.c index 2f9e7588..f760e6e3 100644 --- a/src/pc/djui/djui_base.c +++ b/src/pc/djui/djui_base.c @@ -283,6 +283,7 @@ static void djui_base_render_border(struct DjuiBase* base) { //////////// bool djui_base_render(struct DjuiBase* base) { + if (base == NULL) { return false; } if (!base->visible) { return false; } if (base->on_render_pre != NULL) {