From d49903dd9e9ef74b7fc72940fd7ee8d252196398 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Wed, 17 Apr 2013 18:51:29 -0400 Subject: [PATCH] Clarity for VERSION_ATLEAST --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 0246617..c2fe43e 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -404,7 +404,7 @@ namespace SDL2 public static bool SDL_VERSION_ATLEAST(int X, int Y, int Z) { - return SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z); + return (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z)); } [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]