mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 09:06:11 +00:00
Change C++ code style: put curly brace on the same line
This commit is contained in:
@@ -24,8 +24,7 @@ bool joystickInitialized = false, warnShown = false;
|
||||
|
||||
void normalizeRC();
|
||||
|
||||
void joystickInit()
|
||||
{
|
||||
void joystickInit() {
|
||||
SDL_Init(SDL_INIT_JOYSTICK);
|
||||
joystick = SDL_JoystickOpen(0);
|
||||
if (joystick != NULL) {
|
||||
@@ -37,8 +36,7 @@ void joystickInit()
|
||||
}
|
||||
}
|
||||
|
||||
void joystickGet()
|
||||
{
|
||||
void joystickGet() {
|
||||
if (!joystickInitialized) {
|
||||
joystickInit();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user