From d5af0c7e09849d33532b585441a88ac6c3717f5a Mon Sep 17 00:00:00 2001 From: Sam Lantinga <slouken@libsdl.org> Date: Fri, 4 Oct 2024 13:27:13 -0700 Subject: [PATCH] Added missing parentheses --- include/SDL3/SDL_error.h | 2 +- include/SDL3/SDL_init.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_error.h b/include/SDL3/SDL_error.h index 5adf4807dc..9256ff2975 100644 --- a/include/SDL3/SDL_error.h +++ b/include/SDL3/SDL_error.h @@ -30,7 +30,7 @@ * * These strings are maintained per-thread, and apps are welcome to set their * own errors, which is popular when building libraries on top of SDL for - * other apps to consume. These strings are set by calling SDL_SetError. + * other apps to consume. These strings are set by calling SDL_SetError(). * * A common usage pattern is to have a function that returns true for success * and false for failure, and do this when something fails: diff --git a/include/SDL3/SDL_init.h b/include/SDL3/SDL_init.h index b627d1f02d..0c4aea4158 100644 --- a/include/SDL3/SDL_init.h +++ b/include/SDL3/SDL_init.h @@ -38,7 +38,7 @@ * make sure that the display's resolution is back to what the user expects if * you had previously changed it for your game. * - * SDL3 apps are strongly encouraged to call SDL_SetAppMetadata at startup to + * SDL3 apps are strongly encouraged to call SDL_SetAppMetadata() at startup to * fill in details about the program. This is completely optional, but it * helps in small ways (we can provide an About dialog box for the macOS menu, * we can name the app in the system's audio mixer, etc). Those that want to