summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_software.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-27 10:48:48 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-27 10:48:48 -0500
commitd3648b6193989a36c71102c616f63aef34f9b807 (patch)
tree3dad0f4a2647f7862bc25f44fc7e3a21760aa1bf /pts-core/functions/pts-functions_system_software.php
parentdf625db68e5cae752f431549ffccee6de276d341 (diff)
downloadphoronix-test-suite-upstream-d3648b6193989a36c71102c616f63aef34f9b807.tar.gz
phoronix-test-suite-upstream-d3648b6193989a36c71102c616f63aef34f9b807.tar.xz
phoronix-test-suite-upstream-d3648b6193989a36c71102c616f63aef34f9b807.zip
pts_Graph: Various changes to the graphing object
Major changes, actually.
Diffstat (limited to 'pts-core/functions/pts-functions_system_software.php')
-rw-r--r--pts-core/functions/pts-functions_system_software.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_software.php b/pts-core/functions/pts-functions_system_software.php
index 1ba78bf..6d4b3aa 100644
--- a/pts-core/functions/pts-functions_system_software.php
+++ b/pts-core/functions/pts-functions_system_software.php
@@ -277,7 +277,7 @@ function sw_desktop_environment()
if(($open = strpos($xfce_output, "(")) > 0)
{
- $xfce_output = substr($xfce_output, strpos($xfce_output, " ", $open));
+ $xfce_output = substr($xfce_output, strpos($xfce_output, " ", $open) + 1);
$desktop_version = substr($xfce_output, 0, strpos($xfce_output, ")"));
}
}