This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 51ca4d35ea33b722d0084d76b9d2782f3a5fa37f
Author: Zack Middleton <z...@cloemail.com>
Date:   Sun Jul 9 13:09:06 2017 -0500

    Fix misleading-indentation warnings in cl_cin.c
---
 code/client/cl_cin.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/code/client/cl_cin.c b/code/client/cl_cin.c
index 327e5c3..73eecd4 100644
--- a/code/client/cl_cin.c
+++ b/code/client/cl_cin.c
@@ -577,8 +577,12 @@ static unsigned short yuv_to_rgb( long y, long u, long v )
        g = (YY + ROQ_UG_tab[u] + ROQ_VG_tab[v]) >> 8;
        b = (YY + ROQ_UB_tab[u]) >> 9;
        
-       if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0;
-       if (r > 31) r = 31; if (g > 63) g = 63; if (b > 31) b = 31;
+       if (r<0) r = 0;
+       if (g<0) g = 0;
+       if (b<0) b = 0;
+       if (r > 31) r = 31;
+       if (g > 63) g = 63;
+       if (b > 31) b = 31;
 
        return (unsigned short)((r<<11)+(g<<5)+(b));
 }
@@ -598,8 +602,12 @@ static unsigned int yuv_to_rgb24( long y, long u, long v )
        g = (YY + ROQ_UG_tab[u] + ROQ_VG_tab[v]) >> 6;
        b = (YY + ROQ_UB_tab[u]) >> 6;
        
-       if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0;
-       if (r > 255) r = 255; if (g > 255) g = 255; if (b > 255) b = 255;
+       if (r<0) r = 0;
+       if (g<0) g = 0;
+       if (b<0) b = 0;
+       if (r > 255) r = 255;
+       if (g > 255) g = 255;
+       if (b > 255) b = 255;
        
        return LittleLong ((r)|(g<<8)|(b<<16)|(255<<24));
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/ioquake3.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to