From 93f5389132affcbb7340ef181ff8fe5c244cb9ef 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 b950340..7b51528 100644 --- a/src/pixmap.cxx +++ b/src/pixmap.cxx @@ -914,19 +914,20 @@ CPixmap::LoadCursors () { 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 */ auto scale = this->GetDisplayScale ();