瀏覽代碼

include: Fixed copy/paste error

Ryan C. Gordon 2 年之前
父節點
當前提交
c47ac5b2df
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
  * \param str string representing a SDL_Gamepad axis
  * \returns the SDL_GamepadButton enum corresponding to the input string, or
  * \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.
  * \since This function is available since SDL 3.0.0.
  */
  */