Fixed bug 957

Fixed the documentation for SDL_GetWMInfo()

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga 2010-07-18 10:39:24 -07:00
parent a1cee1cf8c
commit 2b5448aae9

View file

@ -203,8 +203,9 @@ typedef struct SDL_SysWMinfo {
/**
* This function gives you custom hooks into the window manager information.
* It fills the structure pointed to by 'info' with custom information and
* returns 1 if the function is implemented. If it's not implemented, or
* the version member of the 'info' structure is invalid, it returns 0.
* returns 0 if the function is not implemented, 1 if the function is
* implemented and no error occurred, and -1 if the version member of
* the 'info' structure is not filled in or not supported.
*
* You typically use this function like this:
* @code