emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/image.c


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/src/image.c
Date: Fri, 21 Apr 2006 07:56:34 +0000

Index: emacs/src/image.c
diff -u emacs/src/image.c:1.53 emacs/src/image.c:1.54
--- emacs/src/image.c:1.53      Tue Apr 18 08:10:30 2006
+++ emacs/src/image.c   Fri Apr 21 07:56:33 2006
@@ -4460,6 +4460,10 @@
   img->width = width;
   img->height = height;
 
+  /* Maybe fill in the background field while we have ximg handy. */
+  if (NILP (image_spec_value (img->spec, QCbackground, NULL)))
+    IMAGE_BACKGROUND (img, f, ximg);
+
   x_put_x_image (f, ximg, img->pixmap, width, height);
   x_destroy_x_image (ximg);
   if (have_mask)




reply via email to

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