From d6a0adea149670767bb480328c57e74a9facfb13 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 11 Dec 2012 16:53:38 -0500 Subject: [PATCH] Fixed comment on SDL_JoystickGetGUIDString(). --- include/SDL_joystick.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/SDL_joystick.h b/include/SDL_joystick.h index 622c73bca..4214cef4f 100644 --- a/include/SDL_joystick.h +++ b/include/SDL_joystick.h @@ -110,7 +110,8 @@ extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetDeviceGUID(int device_in 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);