summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Xconfig')
-rw-r--r--lib/Xconfig/parse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/parse.pm b/lib/Xconfig/parse.pm
index e7e97f4..619c059 100644
--- a/lib/Xconfig/parse.pm
+++ b/lib/Xconfig/parse.pm
@@ -164,7 +164,7 @@ sub _from_rraw {
_from_rraw($e);
push @{$current->{l}{$e->{name}}}, $e;
} else {
- if (member(lc $e->{name}, @want_string)) {
+ if (member(lc $e->{name}, @want_string) || $e->{Option} && $e->{val}) {
$e->{val} =~ s/^"(.*)"$/$1/ or warn "$e->{name} $e->{val} has no quote\n";
}