Fixed the documentation for SDL_SetError()

This commit is contained in:
Sam Lantinga
2024-09-13 13:54:54 -07:00
parent d483886ec5
commit f1d0a71629

View File

@@ -44,7 +44,7 @@ extern "C" {
* *
* Calling this function will replace any previous error message that was set. * Calling this function will replace any previous error message that was set.
* *
* This function always returns -1, since SDL frequently uses -1 to signify an * This function always returns SDL_FALSE, since SDL frequently uses SDL_FALSE to signify an
* failing result, leading to this idiom: * failing result, leading to this idiom:
* *
* ```c * ```c