Răsfoiți Sursa

Fix typo in SDL_power doc comment

Merlyn Morgan-Graham 1 lună în urmă
părinte
comite
dee2414ee7
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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.
  *