[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A redisplay bug in 22.0.99?
From: |
James Cloos |
Subject: |
Re: A redisplay bug in 22.0.99? |
Date: |
Fri, 11 May 2007 19:24:40 -0400 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
>>>>> "Glenn" == Glenn Morris <address@hidden> writes:
Glenn> Perhaps something like this.
,----
|
| *** image.c 18 Mar 2007 23:09:57 -0000 1.65
| --- image.c 11 May 2007 22:37:36 -0000
| ***************
| *** 5742,5750 ****
| }
| else
| {
| ! if (raw_p && (p + 3 * height * width > end))
| {
| x_destroy_x_image (ximg);
| image_error ("Invalid image size in image `%s'",
| img->spec, Qnil);
| goto error;
| --- 5742,5751 ----
| }
| else
| {
| ! if (raw_p && (p + (type == PBM_GRAY ? 1 : 3) * height * width > end))
| {
| x_destroy_x_image (ximg);
| + x_clear_image (f, img);
| image_error ("Invalid image size in image `%s'",
| img->spec, Qnil);
| goto error;
`----
Yes, that does look like a necessary fix.
-JimC
- RE: A redisplay bug in 22.0.99?, (continued)
Re: A redisplay bug in 22.0.99?, Jason Rumney, 2007/05/11