Browse Source

Corrected documentation of SDL_AddTimer() in header file.

Philipp Wiesemann 10 years ago
parent
commit
2fa0394855
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL_timer.h

+ 1 - 1
include/SDL_timer.h

@@ -88,7 +88,7 @@ typedef int SDL_TimerID;
 /**
 /**
  * \brief Add a new timer to the pool of timers already running.
  * \brief Add a new timer to the pool of timers already running.
  *
  *
- * \return A timer ID, or NULL when an error occurs.
+ * \return A timer ID, or 0 when an error occurs.
  */
  */
 extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval,
 extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval,
                                                  SDL_TimerCallback callback,
                                                  SDL_TimerCallback callback,