changeset 3652:dbd6a29e4b77

Fixed release level assertions
author Sam Lantinga <slouken@libsdl.org>
date Wed, 13 Jan 2010 07:36:00 +0000
parents cb5b1aedb5a7
children 1cd9f7117b98
files include/SDL_assert.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_assert.h	Wed Jan 13 07:33:33 2010 +0000
+++ b/include/SDL_assert.h	Wed Jan 13 07:36:00 2010 +0000
@@ -128,9 +128,9 @@
 #   define SDL_assert_release(condition) SDL_disabled_assert(condition)
 #   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
 #elif SDL_ASSERT_LEVEL == 1  /* release settings. */
-#   define SDL_assert(condition) SDL_enabled_assert(condition)
+#   define SDL_assert(condition) SDL_disabled_assert(condition)
 #   define SDL_assert_release(condition) SDL_enabled_assert(condition)
-#   define SDL_assert_paranoid(condition) SDL_enabled_assert(condition)
+#   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
 #elif SDL_ASSERT_LEVEL == 2  /* normal settings. */
 #   define SDL_assert(condition) SDL_enabled_assert(condition)
 #   define SDL_assert_release(condition) SDL_enabled_assert(condition)