netstar pushed a commit to branch master. http://git.enlightenment.org/apps/evisum.git/commit/?id=8393a979e660f2c49f9bfde678474584b13cf54b
commit 8393a979e660f2c49f9bfde678474584b13cf54b Author: Alastair Poole <m...@alastairpoole.com> Date: Wed Nov 3 07:22:48 2021 +0000 ui_cpu: exit on garbled visual. Did some testing that garbled the config...there should be a check here. This shouldn't ordinarily happen. --- src/bin/ui/ui_cpu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/ui/ui_cpu.c b/src/bin/ui/ui_cpu.c index 5f202f2..d78337c 100644 --- a/src/bin/ui/ui_cpu.c +++ b/src/bin/ui/ui_cpu.c @@ -254,6 +254,11 @@ ui_cpu_win_add(Evisum_Ui *ui) elm_table_pack(tb, box, 0, 0, 1, 1); vis = ui_cpu_visual_by_name(ui->cpu.visual); + if (!vis) + { + fprintf(stderr, "FATAL: unknown CPU visual (check your config)\n"); + exit(1); + } pd = vis->func(box); pd->ui = ui; --