Added missing parentheses

This commit is contained in:
Sam Lantinga 2024-10-04 13:27:13 -07:00
parent 5a60d073c0
commit d5af0c7e09
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
* *
* These strings are maintained per-thread, and apps are welcome to set their * 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 * 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 * A common usage pattern is to have a function that returns true for success
* and false for failure, and do this when something fails: * and false for failure, and do this when something fails:

View file

@ -38,7 +38,7 @@
* make sure that the display's resolution is back to what the user expects if * make sure that the display's resolution is back to what the user expects if
* you had previously changed it for your game. * 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 * 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, * 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 * we can name the app in the system's audio mixer, etc). Those that want to