소스 검색

Fixed the documentation for SDL_SetError()

Sam Lantinga 1 년 전
부모
커밋
f1d0a71629
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/SDL3/SDL_error.h

+ 1 - 1
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