diff src/audio/windx5/SDL_dx5audio.c @ 2050:bbc89e09503f

Patched to compile again (thanks, Rasmus!).
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 18 Oct 2006 10:49:23 +0000
parents 5f6550e5184f
children c03f1446e897
line wrap: on
line diff
--- a/src/audio/windx5/SDL_dx5audio.c	Tue Oct 17 09:15:21 2006 +0000
+++ b/src/audio/windx5/SDL_dx5audio.c	Wed Oct 18 10:49:23 2006 +0000
@@ -485,7 +485,7 @@
     SDL_memset(&ver, '\0', sizeof (OSVERSIONINFO));
     ver.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
     GetVersionEx(&ver);
-    if (ver.dwPlatformId == VER_PLATFORM_WIN32_NT)
+    if (ver.dwPlatformId == VER_PLATFORM_WIN32_NT) {
         if (ver.dwMajorVersion <= 4) {
             return 0;  /* NT4.0 or earlier. Disable dsound support. */
         }