From 081541565895082026b67ccad05fd676cab28eda Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Tue, 26 Jun 2018 19:14:55 +0200 Subject: [PATCH] Cosmetics --- src/pixmap.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pixmap.cxx b/src/pixmap.cxx index 58a766a..c1c5e46 100644 --- a/src/pixmap.cxx +++ b/src/pixmap.cxx @@ -774,19 +774,20 @@ CPixmap::LoadCursors (Uint8 scale) { Uint32 rmask, gmask, bmask, amask; -/* SDL interprets each pixel as a 32-bit number, so our masks must depend -on the endianness (byte order) of the machine */ + /* SDL interprets each pixel as a 32-bit number, so our masks must depend + * on the endianness (byte order) of the machine + */ #if SDL_BYTEORDER == SDL_BIG_ENDIAN rmask = 0xff000000; gmask = 0x00ff0000; bmask = 0x0000ff00; amask = 0x000000ff; -#else +#else /* SDL_BYTEORDER == SDL_BIG_ENDIAN */ rmask = 0x000000ff; gmask = 0x0000ff00; bmask = 0x00ff0000; amask = 0xff000000; -#endif +#endif /* SDL_BYTEORDER != SDL_BIG_ENDIAN */ for (int i = SPRITE_BEGIN; i <= SPRITE_END; ++i) {