From 994978ed03dfae2c66d511a629a1b50b1f8a070c Mon Sep 17 00:00:00 2001 From: Sylvain Date: Thu, 9 Feb 2023 21:18:43 +0100 Subject: [PATCH] SDL_GetNumTouchFingers(): 0 is a valid value. negative is automatically an error --- include/SDL3/SDL_touch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_touch.h b/include/SDL3/SDL_touch.h index 600fd4b98..bc66ea465 100644 --- a/include/SDL3/SDL_touch.h +++ b/include/SDL3/SDL_touch.h @@ -115,7 +115,7 @@ extern DECLSPEC SDL_TouchDeviceType SDLCALL SDL_GetTouchDeviceType(SDL_TouchID t * * \param touchID the ID of a touch device * \returns the number of active fingers for a given touch device on success - * or 0 on failure; call SDL_GetError() for more information. + * or negative error code on failure; call SDL_GetError() for more information. * * \since This function is available since SDL 3.0.0. *