Browse Source

include: Fixed copy/paste error

Ryan C. Gordon 1 year ago
parent
commit
c47ac5b2df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL3/SDL_gamepad.h

+ 1 - 1
include/SDL3/SDL_gamepad.h

@@ -977,7 +977,7 @@ extern DECLSPEC Sint16 SDLCALL SDL_GetGamepadAxis(SDL_Gamepad *gamepad, SDL_Game
  *
  * \param str string representing a SDL_Gamepad axis
  * \returns the SDL_GamepadButton enum corresponding to the input string, or
- *          `SDL_GAMEPAD_AXIS_INVALID` if no match was found.
+ *          `SDL_GAMEPAD_BUTTON_INVALID` if no match was found.
  *
  * \since This function is available since SDL 3.0.0.
  */