Fix potential crash

This commit is contained in:
Jean-Patrick Guerrero 2021-08-22 02:53:39 +02:00
parent 893959b5d4
commit cbf6256593
1 changed files with 1 additions and 1 deletions

View File

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