Explorar o código

Fix typo in SDL_power doc comment

Merlyn Morgan-Graham hai 1 mes
pai
achega
dee2414ee7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      include/SDL3/SDL_power.h

+ 2 - 2
include/SDL3/SDL_power.h

@@ -88,8 +88,8 @@ typedef enum SDL_PowerState
  *                can't determine a value or there is no battery.
  * \param percent a pointer filled in with the percentage of battery life
  *                left, between 0 and 100, or NULL to ignore. This will be
- *                filled in with -1 we can't determine a value or there is no
- *                battery.
+ *                filled in with -1 when we can't determine a value or there
+ *                is no battery.
  * \returns the current battery state or `SDL_POWERSTATE_ERROR` on failure;
  *          call SDL_GetError() for more information.
  *