Skip to content
Snippets Groups Projects
Commit 2fa8205d authored by Oz Linden's avatar Oz Linden
Browse files

MAINT-2281: correct test for XP (corrected fix I applied incorrectly)

parent 07deaaef
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment