1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00

(format:out-substr): Update the column counter correctly. This fixes

the behavior of ~T (tabbing) after ~F, for instance.  Thanks to
Matthias Koeppe!
This commit is contained in:
Marius Vollmer 2003-03-19 18:29:04 +00:00
parent 6c61859f03
commit 552ae44cde

View file

@ -89,7 +89,7 @@
(do ((k i (+ k 1)))
((= k n))
(write-char (string-ref str k) format:port))
(set! format:output-col (+ format:output-col n)))
(set! format:output-col (+ format:output-col (- n i))))
;(define (format:out-fill n ch) ; this allocates a new string
; (format:out-str (make-string n ch)))