Sfoglia il codice sorgente

Corrected documentation of SDL_AddTimer() in header file.

Philipp Wiesemann 9 anni fa
parent
commit
2fa0394855
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.
  *
- * \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,
                                                  SDL_TimerCallback callback,