On Mon, May 27, 2002 at 01:04:38PM +0000, Mikhael Goikhman wrote: > On 27 May 2002 12:23:59 +0200, Dominik Vogt wrote: > > > > On Sun, May 26, 2002 at 02:08:22PM +0000, Mikhael Goikhman wrote: > > > I am a bit puzzled with background/lightsky.png from fvwm-themes cvs. > > > > > > It is bluish, without any red, but when I do: > > > > > > Colorset 14 Pixmap background/lightsky.xpm, bg average, fg contrast > > > > > > $[bg.cs14] becomes red - rgb:7272/2d2d/4c4c. > > > > > > If save this 400x300 image scaled to 75% or less, bg becomes blue. > > > But if I scale it to 90%, it is still red. > > > Converting to xpm does not change results. > > > > > > Does someone know how this is possible? > > > > Maybe an integer overflow? Can you mail me that picture?
Yup, it's an integer overflow in the variable adding the blue values. Patch committed. Bye Dominik ^_^ ^_^ -- Dominik Vogt, email: [EMAIL PROTECTED] LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20 -- 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]