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
c7f07c4c
Commit
c7f07c4c
authored
Feb 20, 2002
by
Pavel Janík
Browse files
(gif_load): Use correct width and height for GIF images.
parent
210f943e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/xfns.c
src/xfns.c
+2
-2
No files found.
src/ChangeLog
View file @
c7f07c4c
2002-02-20 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* xfns.c (gif_load): Use correct width and height for GIF images.
2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
* floatfns.c (Fatan): Accept an optional second arg and call
...
...
src/xfns.c
View file @
c7f07c4c
...
...
@@ -10161,8 +10161,8 @@ gif_load (f, img)
return 0;
}
width = img->width = gif->SWidth;
height = img->height = gif->SHeight;
width = img->width =
max (
gif->SWidth
, gif->Image.Left + gif->Image.Width)
;
height = img->height =
max (
gif->SHeight
, gif->Image.Top + gif->Image.Height)
;
/* Create the X image and pixmap. */
if (!x_create_x_image_and_pixmap (f, width, height, 0, &ximg, &img->pixmap))
...
...
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