SDL/src/main
Sylvain Becker fb0ce375f0 Cleanup add brace (#6545)
* Add braces after if conditions

* More add braces after if conditions

* Add braces after while() conditions

* Fix compilation because of macro being modified

* Add braces to for loop

* Add braces after if/goto

* Move comments up

* Remove extra () in the 'return ...;' statements

* More remove extra () in the 'return ...;' statements

* More remove extra () in the 'return ...;' statements after merge

* Fix inconsistent patterns are xxx == NULL vs !xxx

* More "{}" for "if() break;"  and "if() continue;"

* More "{}" after if() short statement

* More "{}" after "if () return;" statement

* More fix inconsistent patterns are xxx == NULL vs !xxx

* Revert some modificaion on SDL_RLEaccel.c

* SDL_RLEaccel: no short statement

* Cleanup 'if' where the bracket is in a new line

* Cleanup 'while' where the bracket is in a new line

* Cleanup 'for' where the bracket is in a new line

* Cleanup 'else' where the bracket is in a new line

(cherry picked from commit 6a2200823c to reduce conflicts merging between SDL2 and SDL3)
2022-11-28 12:33:03 -08:00
..
android Removed the need for libSDL2main.a on Android, and separated JNI initialization out for other integrations 2017-08-28 14:34:15 -07:00
dummy Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
gdk Windows GDK Support (#5830) 2022-06-27 10:19:39 -07:00
haiku Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
n3ds N3DS: Move gfxInit and hidInit from main to video. 2022-10-10 08:50:59 -07:00
nacl Updated copyright for 2022 2022-01-03 09:40:21 -08:00
ngage Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
ps2 Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
psp Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
uikit Allow including SDL_uikit_main.c in Apple multi-platform builds 2022-09-28 00:01:54 -07:00
windows Cleanup add brace (#6545) 2022-11-28 12:33:03 -08:00
winrt WinRT: Move Windows::Foundation::Initialize to SDL2.dll, from SDL_main. 2017-10-24 13:21:11 -04:00