Fix typo in SDL_power doc comment

This commit is contained in:
Merlyn Morgan-Graham
2025-08-16 09:09:20 +00:00
committed by Özkan Sezer
parent ee5e249008
commit dee2414ee7

View File

@@ -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.
*