]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/text-to-pdf/text-to-pdf.pdf
factor: Final rename of ranges words and fix up some using lists
[factor.git] / extra / text-to-pdf / text-to-pdf.pdf
index 3520e4a31dc6fefe430db00b558110b2716dc6c6..0778fc10a7268735912158ebb0219f6fc6854b9e 100644 (file)
@@ -211,7 +211,7 @@ BT
 (        dup length 5 swap 2 range boa zip)'
 (        [ pdf-page , pdf-text , ] assoc-each)'
 (    ] { } make)'
-(    dup length [1,b] zip [ first2 pdf-object ] map ;)'
+(    dup length [1..b] zip [ first2 pdf-object ] map ;)'
 ( )'
 (: objects>pdf \( objects -- str \))'
 (    [ "\\n" join "\\n" append "%PDF-1.4\\n" ])'