widget.cal: fix calendar icons not displaying; closes #410

This commit is contained in:
lcpz 2018-11-15 10:59:52 +00:00
parent 448d0b1be9
commit 4f3babced7
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ local function factory(args)
strx = string.format("%s%s", string.rep(" ", 3 - tostring(x):len()), strx)
notifytable[#notifytable+1] = string.format("%-4s%s", strx, (x+st_day)%7==0 and x ~= mth_days and "\n" or "")
end
if string.len(cal.icons or "") > 0 and today then cal.icon = cal.icons .. today .. ".png" end
cal.month, cal.year = d.month, d.year
return notifytable
end

2
wiki

@ -1 +1 @@
Subproject commit e6118121ad7e2c2a6d7a846e1ffc3762a42d5fe1
Subproject commit 7c3a5bfba6e779a86169a6cbb1eaf20bf19627f7