diff src/video/SDL_gamma.c @ 3040:62d4992e5a92

indent
author Sam Lantinga <slouken@libsdl.org>
date Wed, 14 Jan 2009 04:25:32 +0000
parents 7e30c2dc7783
children 4b594623401b
line wrap: on
line diff
--- a/src/video/SDL_gamma.c	Tue Jan 13 23:27:08 2009 +0000
+++ b/src/video/SDL_gamma.c	Wed Jan 14 04:25:32 2009 +0000
@@ -50,7 +50,8 @@
         int value;
         gamma = 1.0f / gamma;
         for (i = 0; i < 256; ++i) {
-            value = (int) (SDL_pow((double) i / 256.0, gamma) * 65535.0 + 0.5);
+            value =
+                (int) (SDL_pow((double) i / 256.0, gamma) * 65535.0 + 0.5);
             if (value > 65535) {
                 value = 65535;
             }
@@ -73,7 +74,7 @@
         if ((ramp[i] != 0) && (ramp[i] != 65535)) {
             double B = (double) i / 256.0;
             double A = ramp[i] / 65535.0;
-			sum += (float) (SDL_log(A) / SDL_log(B));
+            sum += (float) (SDL_log(A) / SDL_log(B));
             count++;
         }
     }