changeset 4544:3f2d351d8274 SDL-1.2

Fixed bug 957 Fixed the documentation for SDL_GetWMInfo()
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Jul 2010 10:39:24 -0700
parents d7cdc25af9a2
children 134c6707b767
files include/SDL_syswm.h
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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