Fixed comment on SDL_JoystickGetGUIDString().
authorRyan C. Gordon <icculus@icculus.org>
Tue, 11 Dec 2012 16:53:38 -0500
changeset 6746 1ae364ea5112
parent 6745 de3683865c14
child 6747 b617821795bf
Fixed comment on SDL_JoystickGetGUIDString().
include/SDL_joystick.h
--- a/include/SDL_joystick.h	Tue Dec 11 12:35:11 2012 -0800
+++ b/include/SDL_joystick.h	Tue Dec 11 16:53:38 2012 -0500
@@ -110,7 +110,8 @@
 extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUID(SDL_Joystick * joystick);
 
 /**
- *  Return a string representation for this guid. You are responsible for freeing memory from this call
+ *  Return a string representation for this guid. pszGUID must point to at least 33 bytes
+ *  (32 for the string plus a NULL terminator).
  */
 extern DECLSPEC void SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);