src/SDL_assert.c
changeset 5547 4ccecd0901e2
parent 5541 b63f1383f8c9
child 6051 cb1f941ce38e
--- a/src/SDL_assert.c	Fri Apr 22 09:06:29 2011 -0700
+++ b/src/SDL_assert.c	Fri Jun 03 16:03:10 2011 -0400
@@ -337,16 +337,16 @@
         if (SDL_strcmp(buf, "a") == 0) {
             state = SDL_ASSERTION_ABORT;
             break;
-        } else if (SDL_strcmp(envr, "b") == 0) {
+        } else if (SDL_strcmp(buf, "b") == 0) {
             state = SDL_ASSERTION_BREAK;
             break;
-        } else if (SDL_strcmp(envr, "r") == 0) {
+        } else if (SDL_strcmp(buf, "r") == 0) {
             state = SDL_ASSERTION_RETRY;
             break;
-        } else if (SDL_strcmp(envr, "i") == 0) {
+        } else if (SDL_strcmp(buf, "i") == 0) {
             state = SDL_ASSERTION_IGNORE;
             break;
-        } else if (SDL_strcmp(envr, "A") == 0) {
+        } else if (SDL_strcmp(buf, "A") == 0) {
             state = SDL_ASSERTION_ALWAYS_IGNORE;
             break;
         }