Просмотр исходного кода

Fixed the documentation for SDL_GetGamepadMappings()

Sam Lantinga 2 лет назад
Родитель
Сommit
af58ed978e
1 измененных файлов с 1 добавлено и 1 удалено
  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.