diff options
Diffstat (limited to 'indra/media_plugins/winmmshim')
-rwxr-xr-x | indra/media_plugins/winmmshim/winmm_shim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/media_plugins/winmmshim/winmm_shim.cpp b/indra/media_plugins/winmmshim/winmm_shim.cpp index 49a1c9dba3..78f7a9b0da 100755 --- a/indra/media_plugins/winmmshim/winmm_shim.cpp +++ b/indra/media_plugins/winmmshim/winmm_shim.cpp @@ -39,7 +39,7 @@ BOOL APIENTRY DllMain( HMODULE hModule, LPVOID lpReserved ) { - if (DLL_PROCESS_ATTACH == ul_reason_for_call) + if (ul_reason_for_call == DLL_PROCESS_ATTACH) { InitializeCriticalSection(&sCriticalSection); } |