Fixed bug 957 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sun, 18 Jul 2010 10:39:24 -0700
branchSDL-1.2
changeset 4544 3f2d351d8274
parent 4543 d7cdc25af9a2
child 4545 134c6707b767
Fixed bug 957 Fixed the documentation for SDL_GetWMInfo()
include/SDL_syswm.h
--- a/include/SDL_syswm.h	Sun Jul 18 10:28:57 2010 -0700
+++ b/include/SDL_syswm.h	Sun Jul 18 10:39:24 2010 -0700
@@ -203,8 +203,9 @@
 /**
  * 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