aboutsummaryrefslogtreecommitdiff
path: root/org.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-04 00:31:12 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-04 00:31:12 +0200
commitb65d5093803ec81f89f286c90807a44fa219c733 (patch)
treeaec5114ef7a8dfdc6c67c8aaebe6d308fa741f28 /org.lua
parentb185e964945cf4bb58606a154922e5e7f079b0c0 (diff)
downloadvicious-legacy-b65d5093803ec81f89f286c90807a44fa219c733.tar.xz
Reworked counters in mboxc, mdir, org
Diffstat (limited to 'org.lua')
-rw-r--r--org.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/org.lua b/org.lua
index cdf73c3..ea50db9 100644
--- a/org.lua
+++ b/org.lua
@@ -27,12 +27,7 @@ local function worker(format, files)
local future = today + 24 * 3600 * 7 -- 7 days ahead is maximum
-- Initialise counters
- local count = {
- past = 0,
- today = 0,
- soon = 0,
- future = 0
- }
+ local count = { past = 0, today = 0, soon = 0, future = 0 }
-- Get data from agenda files
for i=1, #files do