From ba3a187358a6c31d675701a657d3cd03bb1d5504 Mon Sep 17 00:00:00 2001 From: kevans Date: Sun, 1 Apr 2018 01:21:00 +0000 Subject: [PATCH] lualoader: Don't try to lookup a nil logo --- stand/lua/drawer.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua index 518c4f24cd26..d2283d20dbdc 100644 --- a/stand/lua/drawer.lua +++ b/stand/lua/drawer.lua @@ -52,6 +52,9 @@ local function menuEntryName(drawing_menu, entry) end local function getLogodef(logo) + if logo == nil then + return nil + end -- Look it up local logodef = drawer.logodefs[logo]