diff src/macfns.c @ 90075:c43084d0b52b

* macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out some possibly unnecessary fontset checking code that crashed when creating a new frame
author Steven Tamm <steventamm@mac.com>
date Mon, 17 Jan 2005 07:35:44 +0000
parents cb67264d6096
children b1b6eac1aaa3
line wrap: on
line diff
--- a/src/macfns.c	Mon Jan 17 02:36:57 2005 +0000
+++ b/src/macfns.c	Mon Jan 17 07:35:44 2005 +0000
@@ -1,4 +1,4 @@
-/* Graphical user interface functions for Mac OS.
+s/* Graphical user interface functions for Mac OS.
    Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
@@ -2687,6 +2687,7 @@
 
     BLOCK_INPUT;
     /* First, try whatever font the caller has specified.  */
+#if 0 /* MAC_TODO: This crashed */
     if (STRINGP (font))
       {
 	tem = Fquery_fontset (font, Qnil);
@@ -2695,6 +2696,7 @@
 	else
 	  font = x_new_font (f, SDATA (font));
       }
+#endif
 
     /* Try out a font which we hope has bold and italic variations.  */
     if (! STRINGP (font))
@@ -3803,6 +3805,7 @@
 
     BLOCK_INPUT;
     /* First, try whatever font the caller has specified.  */
+#if 0  /* MAC_TODO: This crashed */
     if (STRINGP (font))
       {
 	tem = Fquery_fontset (font, Qnil);
@@ -3811,6 +3814,7 @@
 	else
 	  font = x_new_font (f, SDATA (font));
       }
+#endif
 
     /* Try out a font which we hope has bold and italic variations.  */
     if (! STRINGP (font))