summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/xfree.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm
index 0dbd46c..c50f8d6 100644
--- a/lib/Xconfig/xfree.pm
+++ b/lib/Xconfig/xfree.pm
@@ -529,7 +529,7 @@ sub remove_extension {
sub get_extension {
my ($raw_X, $extension) = @_;
my $raw = $raw_X->get_Section('Extensions');
- $raw && $raw->{$extension} && $raw->{Composite}[0]{val};
+ $raw && $raw->{$extension} && $raw->{$extension}[0]{val};
}
sub set_extension {
my ($raw_X, $extension, $val) = @_;