From 94996ef4d77359da7483f355f1c177a748c86e25 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Wed, 27 Jun 2018 17:32:41 +0200 Subject: [PATCH] Cosmetic: fix format --- src/decblupi.cxx | 20 +++++++++++++++----- src/display.h | 4 ++-- src/pixmap.cxx | 2 +- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/decblupi.cxx b/src/decblupi.cxx index 3f0df59..7382ea3 100644 --- a/src/decblupi.cxx +++ b/src/decblupi.cxx @@ -2184,7 +2184,9 @@ CDecor::GoalStop (Sint32 rank, bool bError, bool bSound) }; static Sounds table_sound_boing[] = { - SOUND_BOING1, SOUND_BOING2, SOUND_BOING3, + SOUND_BOING1, + SOUND_BOING2, + SOUND_BOING3, }; if (bError && bSound) @@ -3463,12 +3465,16 @@ CDecor::BlupiHiliUp (Point pos) static Sounds table_sound_okf[] = // si fatigué { - SOUND_OK1f, SOUND_OK2f, SOUND_OK3f, + SOUND_OK1f, + SOUND_OK2f, + SOUND_OK3f, }; static Sounds table_sound_oke[] = // si énervé { - SOUND_OK1e, SOUND_OK2e, SOUND_OK3e, + SOUND_OK1e, + SOUND_OK2e, + SOUND_OK3e, }; if (m_bHiliRect) // rectangle de sélection existe ? @@ -4102,11 +4108,15 @@ CDecor::BlupiGoal (Point cel, Buttons button) }; static Sounds table_sound_gom[] = { - SOUND_GO4, SOUND_GO5, SOUND_GO6, + SOUND_GO4, + SOUND_GO5, + SOUND_GO6, }; static Sounds table_sound_boing[] = { - SOUND_BOING1, SOUND_BOING2, SOUND_BOING3, + SOUND_BOING1, + SOUND_BOING2, + SOUND_BOING3, }; if (button == -1) diff --git a/src/display.h b/src/display.h index 7b1c160..449f1d3 100644 --- a/src/display.h +++ b/src/display.h @@ -6,8 +6,8 @@ class Display { private: - Sint32 width; - Sint32 height; + Sint32 width; + Sint32 height; private: Display (); diff --git a/src/pixmap.cxx b/src/pixmap.cxx index 207a5ac..2ca13b4 100644 --- a/src/pixmap.cxx +++ b/src/pixmap.cxx @@ -922,7 +922,7 @@ CPixmap::LoadCursors () gmask = 0x00ff0000; bmask = 0x0000ff00; amask = 0x000000ff; -#else /* SDL_BYTEORDER == SDL_BIG_ENDIAN */ +#else /* SDL_BYTEORDER == SDL_BIG_ENDIAN */ rmask = 0x000000ff; gmask = 0x0000ff00; bmask = 0x00ff0000;