diff -r 918efbff8259 -r b63f1383f8c9 include/SDL_assert.h --- a/include/SDL_assert.h Tue Apr 19 09:53:01 2011 -0700 +++ b/include/SDL_assert.h Tue Apr 19 14:12:56 2011 -0400 @@ -205,7 +205,7 @@ * * * const SDL_assert_data *item = SDL_GetAssertionReport(); - * while (item->condition) { + * while (item) { * printf("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\n", * item->condition, item->function, item->filename, * item->linenum, item->trigger_count, @@ -214,8 +214,7 @@ * } * * - * \return List of all assertions. This never returns NULL, - * even if there are no items. + * \return List of all assertions. * \sa SDL_ResetAssertionReport */ extern DECLSPEC const SDL_assert_data * SDLCALL SDL_GetAssertionReport(void);