From 9fans@cse.psu.edu Sun Sep  8 23:25:55 EDT 1996
Article: 1822 of comp.os.plan9
Xref: info.ecf comp.os.plan9:1822
Newsgroups: comp.os.plan9
Path: info.ecf!utnut!cs.utexas.edu!howland.erols.net!cam-news-hub1.bbnplanet.com!news.mathworks.com!usenet.eel.ufl.edu!warwick!niss!bath.ac.uk!ccsis
From: rsc@research.ATt.COM (Russ Cox)
Subject: update breaks ramp.
Approved: plan9mod@bath.ac.uk
Reply-To: 9fans@cse.psu.edu
Sender: ccsis@bath.ac.uk (Icarus Sparry)
Organization: Plan 9 mailing list
Message-ID: <199609062342.TAA07216@corona.research.att.com>
Date: Fri, 6 Sep 1996 23:44:09 GMT
Lines: 12
Status: R

fb/ramp gets broken by update /plan9/update/fb/836422821.rc

the fix:
term% diff ramp.c 836422821/ramp.c
101c101
< 				line[3*x+2]=b0+(b1-b0)*x/(wid-1);
---
> 				line[3*x+1]=b0+(b1-b0)*x/(wid-1);
term% 

otherwise the green channel is always overwritten
by the blue channel.


