emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in Mac OSX gif support


From: YAMAMOTO Mitsuharu
Subject: Re: Bug in Mac OSX gif support
Date: Mon, 04 Jun 2007 09:03:42 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.1 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sat, 02 Jun 2007 20:08:55 -0400, Chong Yidong <address@hidden> said:

> At image.c:8041, the version of gif_load used in Mac OSX initializes
> the variable `color' to the frame background color if no background
> color is specified in the image spec.  However, there is no code to
> initialize `color' when the background color is specified in the
> image spec.  In this case, `color' seems to be used (on
> image.c:8057) without being uninitialized.

I suppose you mean "without being initialized".

Not executing the then-part implies that `specified_bg' was a Lisp
string and `mac_defined_color (f, SDATA (specified_bg), &color, 0)'
returned non-zero (i.e., negation of the condition).  In that case,
`color' is initialized by the `mac_defined_color' call.

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]