diff --git a/widget/calendar.lua b/widget/calendar.lua index 99e8817..d289ebb 100644 --- a/widget/calendar.lua +++ b/widget/calendar.lua @@ -38,8 +38,8 @@ function calendar.show(t_out, inc_offset, scr) if current_month then -- today highlighted calendar.offset = 0 - calendar.icon = string.format("%s%s.png", calendar.icons, tonumber(os.date("%d"))) - f = calendar.cal + calendar.icon = calendar.icons:len() > 0 and string.format("%s%s.png", calendar.icons, tonumber(os.date("%d"))) + f = calendar.cal else -- no current month showing, no day to highlight local month = tonumber(os.date("%m")) local year = tonumber(os.date("%Y")) diff --git a/wiki b/wiki index d25b127..6665752 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit d25b127c9e534582a399a670b972afa1ff72af37 +Subproject commit 666575233da2ff2f7973320ec69ddf403454b400