changeset 80622:97941d75f8ce

(XDrawLine) [USE_MAC_IMAGE_IO]: Remove spurious return.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Tue, 22 Jul 2008 03:01:12 +0000
parents 57acb523331b
children 111e35333af2
files src/macterm.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/macterm.c	Mon Jul 21 05:05:56 2008 +0000
+++ b/src/macterm.c	Tue Jul 22 03:01:12 2008 +0000
@@ -422,10 +422,7 @@
       color_space = NULL;
       alpha_info = kCGImageAlphaOnly;
     }
-  if (color_space == NULL)
-    return;
-  context = CGBitmapContextCreate (ximg->data, ximg->width,
-				   ximg->height, 8,
+  context = CGBitmapContextCreate (ximg->data, ximg->width, ximg->height, 8,
 				   ximg->bytes_per_line, color_space,
 				   alpha_info);
   if (ximg->bits_per_pixel == 32)