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: Tue, 18 Apr 2006 08:10:31 +0000

Index: emacs/src/image.c
diff -u emacs/src/image.c:1.52 emacs/src/image.c:1.53
--- emacs/src/image.c:1.52      Wed Apr 12 08:05:52 2006
+++ emacs/src/image.c   Tue Apr 18 08:10:30 2006
@@ -201,7 +201,7 @@
     }
   else
 #endif
- if (depth == 1)
+  if (depth == 1)
     {
       char *base_addr = GetPixBaseAddr (pixmap);
       short row_bytes = GetPixRowBytes (pixmap);
@@ -444,8 +444,6 @@
   id = x_allocate_bitmap_record (f);
 #ifdef MAC_OS
   dpyinfo->bitmaps[id - 1].bitmap_data = (char *) xmalloc (height * width);
-  if (! dpyinfo->bitmaps[id - 1].bitmap_data)
-    return -1;
   bcopy (bits, dpyinfo->bitmaps[id - 1].bitmap_data, height * width);
 #endif  /* MAC_OS */
 




reply via email to

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