PTPi pushed a commit to branch master
in repository groff.

commit bfc55cf250267d84ece913c010e3a4b425bc8367
Author: Peter Schaffter <pe...@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')

_______________________________________________
Groff-commit mailing list
Groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to