From 2d4680335a60458d8dc4305b0d9085d64f112273 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 15 Mar 2006 20:03:00 +0000 Subject: [PATCH] Fixed some indentation stuff, so it's more consistant. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2120 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/view.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/client/view.c b/engine/client/view.c index 907d7c42a..5889e9fdd 100644 --- a/engine/client/view.c +++ b/engine/client/view.c @@ -342,13 +342,15 @@ void BuildGammaTable (float g, float c) // g = bound (0.1, g, 3); // c = bound (1, c, 3); - if (g == 1 && c == 1) { + if (g == 1 && c == 1) + { for (i = 0; i < 256; i++) gammatable[i] = i; return; } - for (i = 0; i < 256; i++) { + for (i = 0; i < 256; i++) + { inf = 255 * pow ((i + 0.5) / 255.5 * c, g) + 0.5; if (inf < 0) inf = 0;