Fix potential crash

This commit is contained in:
Jean-Patrick Guerrero 2021-08-22 02:53:39 +02:00
parent 893959b5d4
commit cbf6256593

View File

@ -1706,7 +1706,7 @@ local function get_items_fs(fs, data, full_height)
data.items = new data.items = new
end end
local items = data.alt_items or data.items local items = data.alt_items or data.items or {}
local rows, lines = 8, 12 local rows, lines = 8, 12
local ipp = rows * lines local ipp = rows * lines
local size = 0.85 local size = 0.85