include/SDL_assert.h
changeset 5541 b63f1383f8c9
parent 5538 b395a72329c3
child 5552 2167a41feefe
     1.1 --- a/include/SDL_assert.h	Tue Apr 19 09:53:01 2011 -0700
     1.2 +++ b/include/SDL_assert.h	Tue Apr 19 14:12:56 2011 -0400
     1.3 @@ -205,7 +205,7 @@
     1.4   *
     1.5   *  <code>
     1.6   *  const SDL_assert_data *item = SDL_GetAssertionReport();
     1.7 - *  while (item->condition) {
     1.8 + *  while (item) {
     1.9   *      printf("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\n",
    1.10   *             item->condition, item->function, item->filename,
    1.11   *             item->linenum, item->trigger_count,
    1.12 @@ -214,8 +214,7 @@
    1.13   *  }
    1.14   *  </code>
    1.15   *
    1.16 - *  \return List of all assertions. This never returns NULL,
    1.17 - *          even if there are no items.
    1.18 + *  \return List of all assertions.
    1.19   *  \sa SDL_ResetAssertionReport
    1.20   */
    1.21  extern DECLSPEC const SDL_assert_data * SDLCALL SDL_GetAssertionReport(void);