SDL_WM_GetCaption doc page note

note:-----

The testwm demo executes a SDL_WM_GetCaption(&title,NULL),
however the documentation doesn’t say whether you can pass a NULL argument to this function.


http://www.seznam.cz - e-mailov? schr?nka 1000 MB

Jiri Svoboda wrote:

note:

The testwm demo executes a SDL_WM_GetCaption(&title,NULL),
however the documentation doesn’t say whether you can pass a NULL argument to this function.

Yes, either one of the two parameters can be NULL. You might want to add
this to the SDL wiki man pages.

Stephane