From f65fb90fe531f32d9cea1710c0b6f91d27587899 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sun, 15 Oct 2017 11:23:38 +0200 Subject: [PATCH] Cosmetics --- src/pixmap.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pixmap.cxx b/src/pixmap.cxx index a3de686..c7d2af6 100644 --- a/src/pixmap.cxx +++ b/src/pixmap.cxx @@ -881,13 +881,13 @@ on the endianness (byte order) of the machine */ for (int i = SPRITE_BEGIN; i <= SPRITE_END; ++i) { - MouseSprites sprite = static_cast (i); + MouseSprites sprite = static_cast (i); if (m_lpSDLCursors[sprite - 1]) SDL_FreeCursor (m_lpSDLCursors[sprite - 1]); - SDL_Point hotspot = this->GetCursorHotSpot (sprite); - SDL_Rect rect = this->GetCursorRect (sprite); + SDL_Point hotspot = this->GetCursorHotSpot (sprite); + SDL_Rect rect = this->GetCursorRect (sprite); SDL_Surface * surface = SDL_CreateRGBSurface ( 0, rect.w * scale, rect.h * scale, 32, rmask, gmask, bmask, amask);