aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/view
diff options
context:
space:
mode:
Diffstat (limited to 'module/calp/html/view')
-rw-r--r--module/calp/html/view/calendar/shared.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/calp/html/view/calendar/shared.scm b/module/calp/html/view/calendar/shared.scm
index de09e00a..11f1a70c 100644
--- a/module/calp/html/view/calendar/shared.scm
+++ b/module/calp/html/view/calendar/shared.scm
@@ -43,8 +43,8 @@
(unless (null? tree)
(let ((w (/ (- 1 x)
(+ 1 (length-of-longst-branch (left-subtree tree))))))
- (set! (width (car tree)) w
- (x-pos (car tree)) x)
+ (set! (width (tree-node tree)) w
+ (x-pos (tree-node tree)) x)
(inner (+ x w) (left-subtree tree))
(inner x (right-subtree tree))))))