fix missing shift-right in video output code

Fri, 03 Dec 2010 00:20:36 +0000

author
Philip Pemberton <philpem@philpem.me.uk>
date
Fri, 03 Dec 2010 00:20:36 +0000
changeset 45
caa916e038e5
parent 44
f928be115194
child 46
7d14fab5e4aa

fix missing shift-right in video output code

src/main.c file | annotate | diff | revisions
     1.1 --- a/src/main.c	Fri Dec 03 00:12:53 2010 +0000
     1.2 +++ b/src/main.c	Fri Dec 03 00:20:36 2010 +0000
     1.3 @@ -98,6 +98,7 @@
     1.4  					putpixel(s, x+px, y, fg);
     1.5  				else
     1.6  					putpixel(s, x+px, y, bg);
     1.7 +				val >>= 1;
     1.8  			}
     1.9  		}
    1.10  	}