aboutsummaryrefslogtreecommitdiff
path: root/module/html
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-04-22 18:33:12 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-04-22 18:33:12 +0200
commit79f7122a66ea7f02c5d0ba128363f0ea35983ba8 (patch)
tree20a247315ba6c42fe096c25a85c4fd36d7998caa /module/html
parentLimit HTML output to single week. (diff)
downloadcalp-79f7122a66ea7f02c5d0ba128363f0ea35983ba8.tar.gz
calp-79f7122a66ea7f02c5d0ba128363f0ea35983ba8.tar.xz
General cleanup.
Diffstat (limited to 'module/html')
-rw-r--r--module/html/html.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/html/html.scm b/module/html/html.scm
index 93977106..d81faaaf 100644
--- a/module/html/html.scm
+++ b/module/html/html.scm
@@ -38,7 +38,7 @@
#f
(let* ((pred? (lambda (next)
(time<? (attr next 'DTSTART)
- (attr (car ev-list) 'DTEND))))
+ (attr (car ev-list) 'DTEND))))
(overlapping (take-while pred? ev-list))
(rest (drop-while pred? ev-list)))
(for-each (lambda (o x) (set! (x-pos o) x)) overlapping (iota (length overlapping)))