Tim Phipps <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: > > In this case, t_width = 1 and t_height = 18. > > Since it subtracts 1 from t_width, it ends up with w=0. Then t_scale > > = 0. Then the division dies. > > > > The fix eludes me right now...did Sir Boris write this too, or just > > the Y Gradient? > > He did and here's a patch that I think fixes it.
Thanks Tim. I extended what you supplied to cover the other two gradient types you mentioned. I lack test cases that give me visual confirmation that the gradients still look the way they should. They wouldn't do me any good anyway since I haven't used them enough to know what they should look like. I guess I could figure that out, but right now, I have some other things I should be doing. With those fixes, the Purify tests run under Purify with no problems being detected. -- Dan Espen 444 Hoes Lane Room RRC 1C-214 E-mail: [EMAIL PROTECTED] Piscataway, NJ 08854 Phone: (732) 699-5570 -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]