From cbf6256593d0c2730ec221a443d86e217af24012 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sun, 22 Aug 2021 02:53:39 +0200 Subject: [PATCH] Fix potential crash --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 35906af..4101a4f 100644 --- a/init.lua +++ b/init.lua @@ -1706,7 +1706,7 @@ local function get_items_fs(fs, data, full_height) data.items = new end - local items = data.alt_items or data.items + local items = data.alt_items or data.items or {} local rows, lines = 8, 12 local ipp = rows * lines local size = 0.85