summaryrefslogtreecommitdiff
path: root/XOrg
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-27 14:10:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-08-02 15:09:32 +1000
commitbb9298a308cc59bc1d49d21cb18db732c62cc776 (patch)
tree780a8e8be45687fbc79d819e800939ce239edbfe /XOrg
parent8196d3524e0aeba6206a0df3d9dc7804284cdcd9 (diff)
XOrg: Return module version as triplet, not reference.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XOrg')
-rw-r--r--XOrg/Module.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/XOrg/Module.pm b/XOrg/Module.pm
index 9c65a29..ebb2ae0 100644
--- a/XOrg/Module.pm
+++ b/XOrg/Module.pm
@@ -53,7 +53,7 @@ sub version {
$patchlevel = 0 if not defined $patchlevel;
$self->{version} = [($major, $minor, $patchlevel)];
}
- return $self->{version};
+ return @{$self->{version}};
}
# ABI is a list of 3, e.g. ("input", 12, 2) for input ABI 12.2