Browse Source

Added missing parentheses

Sam Lantinga 6 months ago
parent
commit
d5af0c7e09
2 changed files with 2 additions and 2 deletions
  1. 1 1
      include/SDL3/SDL_error.h
  2. 1 1
      include/SDL3/SDL_init.h

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

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