From 391ace6e962955ff5a61155fd1ac20f6c06f8358 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 8 Aug 2013 12:20:22 -0700 Subject: [PATCH] Fixed whitespace --- include/SDL_bits.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/SDL_bits.h b/include/SDL_bits.h index 4da2188db..b1ed20bf7 100644 --- a/include/SDL_bits.h +++ b/include/SDL_bits.h @@ -53,10 +53,10 @@ SDL_MostSignificantBitIndex32(Uint32 x) #if defined(__GNUC__) && __GNUC__ >= 4 /* Count Leading Zeroes builtin in GCC. * http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html - */ - if (x == 0) { - return -1; - } + */ + if (x == 0) { + return -1; + } return 31 - __builtin_clz(x); #else /* Based off of Bit Twiddling Hacks by Sean Eron Anderson @@ -67,11 +67,11 @@ SDL_MostSignificantBitIndex32(Uint32 x) const int S[] = {1, 2, 4, 8, 16}; int msbIndex = 0; - int i; + int i; - if (x == 0) { - return -1; - } + if (x == 0) { + return -1; + } for (i = 4; i >= 0; i--) {