[Pkg-wmaker-commits] [wmbubble] 46/207: Fix stupid mistake on border color.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:18:00 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmbubble.

commit a02f4bae92a335540708899073d8fdb61a9365a8
Author: Robert Jacobs <rnjacobs at mit.edu>
Date:   Sat Jul 30 21:12:15 2011 -0700

    Fix stupid mistake on border color.
---
 bubblemon.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bubblemon.c b/bubblemon.c
index 64cc460..2313869 100644
--- a/bubblemon.c
+++ b/bubblemon.c
@@ -458,9 +458,9 @@ int main(int argc, char **argv) {
 
 		for (yy=0;yy<BOX_SIZE*BOX_SIZE*3;yy+=BOX_SIZE*3) {
 			from[yy  ]/=4; from[yy+1]/=4; from[yy+2]/=4;
-			from[yy+(BOX_SIZE-1)*3  ]=(255+from[yy+(BOX_SIZE-1)*3]  )/2;
-			from[yy+(BOX_SIZE-1)*3+1]=(255+from[yy+(BOX_SIZE-1)*3]+1)/2;
-			from[yy+(BOX_SIZE-1)*3+2]=(255+from[yy+(BOX_SIZE-1)*3]+2)/2;
+			from[yy+(BOX_SIZE-1)*3  ]=(255+from[yy+(BOX_SIZE-1)*3  ])/2;
+			from[yy+(BOX_SIZE-1)*3+1]=(255+from[yy+(BOX_SIZE-1)*3+1])/2;
+			from[yy+(BOX_SIZE-1)*3+2]=(255+from[yy+(BOX_SIZE-1)*3+2])/2;
 		}
 
 		/* Our colorspace conversion: 3M times in 56sec -> 53561fps or 19us/frame */

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



More information about the Pkg-wmaker-commits mailing list