select.lua: fix LSP warning

I don't know why I didn't get it before but Lua's LSP now complains with

Compute `"Edition " .. (edition.id + 1)` first. You may need to add
brackets. [ambiguity-1].

Just move the parenthesis to make it happy.
This commit is contained in:
Guido Cella authored and sfan5 committed 2025-02-22 15:32:27 +01:00
1 parent 448abf1e3b
commit b848ffad12
1 file changed
+1 -1
+1 -1
View File
@@ -248,7 +248,7 @@ mp.add_key_binding(nil, "select-edition", function ()
local editions = {}
for i, edition in ipairs(edition_list) do
editions[i] = edition.title or "Edition " .. (edition.id + 1)
editions[i] = edition.title or ("Edition " .. edition.id + 1)
end
input.select({