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:
parent
6c61859f03
commit
552ae44cde
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue