Follow-up Comment #16, bug #66504 (group groff):

This did the trick.


$ diff -u ./src/devices/gropdf/gropdf.pl{~,}
--- ./src/devices/gropdf/gropdf.pl~     Fri Dec  6 11:06:27 2024
+++ ./src/devices/gropdf/gropdf.pl      Fri Dec  6 11:06:45 2024
@@ -2044,7 +2044,7 @@
                    my $label={};
                    $label->{S} = "/$S" if $S;
                    $label->{P} = "($P)" if length($P);
-                   $label->{St} = $St if length($St);
+                   $label->{St} = $St if $St and length($St);
 
                    $#PageLabel=$pginsert if $pginsert > $#PageLabel;
                    splice(@PageLabel,$pginsert,0,$label);




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66504>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to