summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig/parse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/parse.pm b/perl-install/Xconfig/parse.pm
index ae270b9e8..ab2838b43 100644
--- a/perl-install/Xconfig/parse.pm
+++ b/perl-install/Xconfig/parse.pm
@@ -59,7 +59,7 @@ sub raw_from_file { #- internal
if (/^$/) {
$comment .= "\n" if $comment;
next;
- } elsif (/^#\W/ || /^#$/) {
+ } elsif (@objs ? m/^#\W/ || /^#$/ : /^#/) {
s/^#\s+/# /;
$comment .= "$_\n";
next;