9fans archive / 1996 / 09 / 15 /    prev next

From: Russ Cox rsc@res...
Subject: update breaks ramp.
Date: Fri, 6 Sep 1996 19:42:08 -0400 (EDT)

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.