From: copycat-killer Date: Mon, 25 Apr 2016 08:42:42 +0000 (+0200) Subject: calendar: fix indentation X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/c946cc48c8980fd92e4c865df70041e51d75b6d1 calendar: fix indentation --- diff --git a/widgets/calendar.lua b/widgets/calendar.lua index 8c9e52a..e1733ee 100644 --- a/widgets/calendar.lua +++ b/widgets/calendar.lua @@ -58,13 +58,13 @@ function calendar:show(t_out, inc_offset, scr) month = month + calendar.offset while month > 12 do - month = month - 12 - year = year + 1 + month = month - 12 + year = year + 1 end while month < 1 do month = month + 12 - year = year - 1 + year = year - 1 end calendar.notify_icon = nil