Parcourir la source

Fixed the documentation for SDL_GetGamepadMappings()

Sam Lantinga il y a 1 an
Parent
commit
af58ed978e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/SDL3/SDL_gamepad.h

+ 1 - 1
include/SDL3/SDL_gamepad.h

@@ -319,7 +319,7 @@ extern DECLSPEC int SDLCALL SDL_AddGamepadMappingsFromFile(const char *file);
 extern DECLSPEC int SDLCALL SDL_ReloadGamepadMappings(void);
 
 /**
- * Get the mapping at a particular index.
+ * Get the current gamepad mappings.
  *
  * You must free the returned pointer with SDL_free() when you are done with
  * it, but you do _not_ free each string in the array.