changeset 66877:cbefce182d81

(init_image) [MAC_OS]: Don't call EnterMovies if inhibit_window_system is set.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Tue, 15 Nov 2005 03:18:26 +0000
parents 224ffce45ccb
children d3fa771c0ae7
files src/image.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/image.c	Tue Nov 15 00:07:03 2005 +0000
+++ b/src/image.c	Tue Nov 15 03:18:26 2005 +0000
@@ -8458,7 +8458,8 @@
 {
 #ifdef MAC_OS
   /* Animated gifs use QuickTime Movie Toolbox.  So initialize it here. */
-  EnterMovies ();
+  if (!inhibit_window_system)
+    EnterMovies ();
 #ifdef MAC_OSX
   init_image_func_pointer ();
 #endif