lualoader: Don't try to lookup a nil logo

This commit is contained in:
kevans 2018-04-01 01:21:00 +00:00
parent 2b229ad775
commit ba3a187358

View File

@ -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]