changeset 90151:290e7282ab7b

(Fx_create_frame, x_create_tip_frame): Pass Lisp string as the second argument for x_new_fontset.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 22 Apr 2005 04:56:11 +0000
parents 4eded3eec512
children 07b2c6525e40
files src/macfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/macfns.c	Fri Apr 22 04:18:42 2005 +0000
+++ b/src/macfns.c	Fri Apr 22 04:56:11 2005 +0000
@@ -2632,7 +2632,7 @@
       font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1");
     /* If those didn't work, look for something which will at least work.  */
     if (! STRINGP (font))
-      font = x_new_fontset (f, "fontset-mac");
+      font = x_new_fontset (f, build_string ("fontset-mac"));
     if (! STRINGP (font))
       font = x_new_font (f, "-*-monaco-*-12-*-mac-roman");
     if (! STRINGP (font))
@@ -3730,7 +3730,7 @@
       font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1");
     /* If those didn't work, look for something which will at least work.  */
     if (! STRINGP (font))
-      font = x_new_fontset (f, "fontset-mac");
+      font = x_new_fontset (f, build_string ("fontset-mac"));
     if (! STRINGP (font))
       font = x_new_font (f, "-*-monaco-*-12-*-mac-roman");
     if (! STRINGP (font))