diff options
-rw-r--r-- | indra/media_plugins/webkit/windows_volume_catcher.cpp | 4 |
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 |