summaryrefslogtreecommitdiff
path: root/indra/media_plugins/webkit
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-01-29 18:39:51 -0500
committerOz Linden <oz@lindenlab.com>2013-01-29 18:39:51 -0500
commit2fa8205d4dfea3fd57bcdb2973805d110e38c44f (patch)
tree340fb55df2849d0258a20eb7da3590e5760c7e9f /indra/media_plugins/webkit
parent07deaaef88f2b532bd47e6bc5a24ea2c2ce9794d (diff)
MAINT-2281: correct test for XP (corrected fix I applied incorrectly)
Diffstat (limited to 'indra/media_plugins/webkit')
-rw-r--r--indra/media_plugins/webkit/windows_volume_catcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/media_plugins/webkit/windows_volume_catcher.cpp b/indra/media_plugins/webkit/windows_volume_catcher.cpp
index cc4630c1b8..0cfb810906 100644
--- a/indra/media_plugins/webkit/windows_volume_catcher.cpp
+++ b/indra/media_plugins/webkit/windows_volume_catcher.cpp
@@ -71,7 +71,7 @@ VolumeCatcherImpl::VolumeCatcherImpl()
{
mSystemIsVistaOrHigher = isWindowsVistaOrHigher();
- if ( mSystemIsVistaOrHigher )
+ if ( ! mSystemIsVistaOrHigher )
{
HMODULE handle = ::LoadLibrary(L"winmm.dll");
if(handle)
@@ -90,7 +90,7 @@ void VolumeCatcherImpl::setVolume(F32 volume)
{
mVolume = volume;
- if ( ! mSystemIsVistaOrHigher )
+ if ( mSystemIsVistaOrHigher )
{
// set both left/right to same volume
// TODO: use pan value to set independently