Fixed bug 957 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sun, 18 Jul 2010 10:39:24 -0700
branchSDL-1.2
changeset 45443f2d351d8274
parent 4543 d7cdc25af9a2
child 4545 134c6707b767
Fixed bug 957

Fixed the documentation for SDL_GetWMInfo()
include/SDL_syswm.h
     1.1 --- a/include/SDL_syswm.h	Sun Jul 18 10:28:57 2010 -0700
     1.2 +++ b/include/SDL_syswm.h	Sun Jul 18 10:39:24 2010 -0700
     1.3 @@ -203,8 +203,9 @@
     1.4  /**
     1.5   * This function gives you custom hooks into the window manager information.
     1.6   * It fills the structure pointed to by 'info' with custom information and
     1.7 - * returns 1 if the function is implemented.  If it's not implemented, or
     1.8 - * the version member of the 'info' structure is invalid, it returns 0. 
     1.9 + * returns 0 if the function is not implemented, 1 if the function is 
    1.10 + * implemented and no error occurred, and -1 if the version member of
    1.11 + * the 'info' structure is not filled in or not supported.
    1.12   *
    1.13   * You typically use this function like this:
    1.14   * @code