groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/01: [pdfmom.pl]: Accrete `-k` and `-K` options to groff


From: Peter Schaffter
Subject: [groff] 01/01: [pdfmom.pl]: Accrete `-k` and `-K` options to groff
Date: Wed, 21 Feb 2024 15:50:17 -0500 (EST)

PTPi pushed a commit to branch master
in repository groff.

commit bfc55cf250267d84ece913c010e3a4b425bc8367
Author: Peter Schaffter <peter@schaffter.ca>
AuthorDate: Wed Feb 21 15:47:43 2024 -0500

    [pdfmom.pl]: Accrete `-k` and `-K` options to groff
---
 src/devices/gropdf/pdfmom.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/devices/gropdf/pdfmom.pl b/src/devices/gropdf/pdfmom.pl
index 1c24d85b9..dc0d96087 100644
--- a/src/devices/gropdf/pdfmom.pl
+++ b/src/devices/gropdf/pdfmom.pl
@@ -68,18 +68,18 @@ while (my $c=shift)
     {
        if (length($c) > 2)
        {
-           $preconv=$c;
+           $preconv.=" $c";
        }
        else
        {
-           $preconv=$c;
+           $preconv.=" $c";
            $preconv.=shift;
        }
        next;
     }
     elsif (substr($c,0,2) eq '-k')
     {
-       $preconv=$c;
+       $preconv.=" $c";
        next;
     }
     elsif ($c eq '-Z')



reply via email to

[Prev in Thread] Current Thread [Next in Thread]