From 53fa6a4ca9736ace20a4f1ec1409b0882c5ec0c9 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Sun, 26 Jul 2020 14:35:59 +0100 Subject: [PATCH] openbsd: static heap variables. I understand what is happening on OpenBSD, but I don't know why this is happening. I need to speak to someone in the know about this because it's not occurring on other platforms, and this shouldn't be happening. --- src/bin/ui/ui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/ui/ui.c b/src/bin/ui/ui.c index 0feb19a..8c7c7e5 100644 --- a/src/bin/ui/ui.c +++ b/src/bin/ui/ui.c @@ -623,7 +623,7 @@ _process_list(void *data, Ecore_Thread *thread) } } -static Evas_Object *_selected = NULL; +Evas_Object *_selected; static void _btn_icon_state_update(Evas_Object *button, Eina_Bool reverse) @@ -1592,6 +1592,7 @@ _ui_init(Evas_Object *parent) _ui = NULL; _evisum_config = NULL; + _selected = NULL; _config_load(ui);