Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8d903f4e
Commit
8d903f4e
authored
Sep 10, 2011
by
Andreas Schwab
Browse files
* src/image.c (gif_load): Fix calculation of bottom and right corner.
(Bug#9468)
parent
80ad64f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/image.c
src/image.c
+4
-2
No files found.
src/ChangeLog
View file @
8d903f4e
2011-09-10 Andreas Schwab <schwab@linux-m68k.org>
* image.c (gif_load): Fix calculation of bottom and right corner.
(Bug#9468)
2011-09-10 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (MAX_DISP_SCAN): Decrease to 250. Prevents sluggish
...
...
src/image.c
View file @
8d903f4e
...
...
@@ -7229,8 +7229,10 @@ gif_load (struct frame *f, struct image *img)
img->corners[TOP_CORNER] = gif->SavedImages[0].ImageDesc.Top;
img->corners[LEFT_CORNER] = gif->SavedImages[0].ImageDesc.Left;
img->corners[BOT_CORNER] = img->corners[TOP_CORNER] + height;
img->corners[RIGHT_CORNER] = img->corners[LEFT_CORNER] + width;
img->corners[BOT_CORNER]
= img->corners[TOP_CORNER] + gif->SavedImages[0].ImageDesc.Height;
img->corners[RIGHT_CORNER]
= img->corners[LEFT_CORNER] + gif->SavedImages[0].ImageDesc.Width;
if (!check_image_size (f, width, height))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment