Merge pull request #3819 from HoNamDuong/master

fix(awful.key.keygroups): can't use 0 . key
This commit is contained in:
mergify[bot] 2023-06-14 06:02:43 +00:00 committed by GitHub
commit 0e5fc4575a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ key.keygroups = {
-- Technically, this isn't very popular, but we have been doing this for 12 -- Technically, this isn't very popular, but we have been doing this for 12
-- years and nobody complained too loudly. -- years and nobody complained too loudly.
for i = 1, 10 do for i = 1, 10 do
table.insert(key.keygroups.numrow, {"#" .. i + 9, i == 10 and 0 or i}) table.insert(key.keygroups.numrow, {"#" .. i + 9, i})
end end
for i = 1, 35 do for i = 1, 35 do
table.insert(key.keygroups.fkeys, {"F" .. i, "F" .. i}) table.insert(key.keygroups.fkeys, {"F" .. i, "F" .. i})