Date: Sun, 1 Apr 2018 01:21:00 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331860 - head/stand/lua Message-ID: <201804010121.w311L09Y052985@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Sun Apr 1 01:21:00 2018 New Revision: 331860 URL: https://svnweb.freebsd.org/changeset/base/331860 Log: lualoader: Don't try to lookup a nil logo Modified: head/stand/lua/drawer.lua Modified: head/stand/lua/drawer.lua ============================================================================== --- head/stand/lua/drawer.lua Sun Apr 1 01:07:15 2018 (r331859) +++ head/stand/lua/drawer.lua Sun Apr 1 01:21:00 2018 (r331860) @@ -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]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804010121.w311L09Y052985>