mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 17:28:28 +00:00
Added missing parentheses
This commit is contained in:
parent
5a60d073c0
commit
d5af0c7e09
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue