From f1d0a7162923b947ae046d42c5fd39153a1cd86b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 13 Sep 2024 13:54:54 -0700
Subject: [PATCH] Fixed the documentation for SDL_SetError()
---
include/SDL3/SDL_error.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/SDL3/SDL_error.h b/include/SDL3/SDL_error.h
index a98823f9fc22e..c06b139dcb336 100644
--- a/include/SDL3/SDL_error.h
+++ b/include/SDL3/SDL_error.h
@@ -44,7 +44,7 @@ extern "C" {
*
* 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:
*
* ```c