src/SDL_assert.c
changeset 5547 4ccecd0901e2
parent 5541 b63f1383f8c9
child 6051 cb1f941ce38e
equal deleted inserted replaced
5546:cd2167525827 5547:4ccecd0901e2
   335         }
   335         }
   336 
   336 
   337         if (SDL_strcmp(buf, "a") == 0) {
   337         if (SDL_strcmp(buf, "a") == 0) {
   338             state = SDL_ASSERTION_ABORT;
   338             state = SDL_ASSERTION_ABORT;
   339             break;
   339             break;
   340         } else if (SDL_strcmp(envr, "b") == 0) {
   340         } else if (SDL_strcmp(buf, "b") == 0) {
   341             state = SDL_ASSERTION_BREAK;
   341             state = SDL_ASSERTION_BREAK;
   342             break;
   342             break;
   343         } else if (SDL_strcmp(envr, "r") == 0) {
   343         } else if (SDL_strcmp(buf, "r") == 0) {
   344             state = SDL_ASSERTION_RETRY;
   344             state = SDL_ASSERTION_RETRY;
   345             break;
   345             break;
   346         } else if (SDL_strcmp(envr, "i") == 0) {
   346         } else if (SDL_strcmp(buf, "i") == 0) {
   347             state = SDL_ASSERTION_IGNORE;
   347             state = SDL_ASSERTION_IGNORE;
   348             break;
   348             break;
   349         } else if (SDL_strcmp(envr, "A") == 0) {
   349         } else if (SDL_strcmp(buf, "A") == 0) {
   350             state = SDL_ASSERTION_ALWAYS_IGNORE;
   350             state = SDL_ASSERTION_ALWAYS_IGNORE;
   351             break;
   351             break;
   352         }
   352         }
   353     }
   353     }
   354 #endif
   354 #endif