1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

(add-duration): Fix bug: Call `add-duration!' w/ two args.

Thanks to Alex Shinn.
This commit is contained in:
Thien-Thi Nguyen 2001-08-25 18:40:11 +00:00
parent e4d1c1eabd
commit afb47f6d45

View file

@ -501,7 +501,7 @@
(define (add-duration t duration)
(let ((result (copy-time t)))
(add-duration! result)))
(add-duration! result duration)))
(define (subtract-duration! t duration)
(if (not (eq? (time-type duration) time-duration))
@ -1549,3 +1549,5 @@
'string->date
'bad-date-format-string
(list "Incomplete date read. " newdate template-string)))))
;;; srfi-19.scm ends here