diff options
| author | Steven Tamm | 2005-01-18 04:50:08 +0000 |
|---|---|---|
| committer | Steven Tamm | 2005-01-18 04:50:08 +0000 |
| commit | cfa4901a57cc9920eec0401d8b33abac7d3f8e5b (patch) | |
| tree | 87ba43b7b44a1707f4d2181df414e7bb26b02039 /src | |
| parent | 9117fa34cb7f1bb6cae44ca9c8f5935132e21316 (diff) | |
| download | emacs-cfa4901a57cc9920eec0401d8b33abac7d3f8e5b.tar.gz emacs-cfa4901a57cc9920eec0401d8b33abac7d3f8e5b.zip | |
* macfns.c (Fx_create_frame, x_create_tip_frame): Fix crash.
Not sure if it's unnecessary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/macfns.c | 10 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f1d6ee0c54d..1debb8b5ef6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-01-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macfns.c (Fx_create_frame, x_create_tip_frame): Fix crash. | ||
| 4 | Not sure if it's unnecessary. | ||
| 5 | |||
| 1 | 2005-01-16 Steven Tamm <steventamm@mac.com> | 6 | 2005-01-16 Steven Tamm <steventamm@mac.com> |
| 2 | 7 | ||
| 3 | * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out | 8 | * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out |
diff --git a/src/macfns.c b/src/macfns.c index 11fb088e30d..7254ac41752 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | s/* Graphical user interface functions for Mac OS. | 1 | /* Graphical user interface functions for Mac OS. |
| 2 | Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| @@ -2687,16 +2687,14 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2687 | 2687 | ||
| 2688 | BLOCK_INPUT; | 2688 | BLOCK_INPUT; |
| 2689 | /* First, try whatever font the caller has specified. */ | 2689 | /* First, try whatever font the caller has specified. */ |
| 2690 | #if 0 /* MAC_TODO: This crashed */ | ||
| 2691 | if (STRINGP (font)) | 2690 | if (STRINGP (font)) |
| 2692 | { | 2691 | { |
| 2693 | tem = Fquery_fontset (font, Qnil); | 2692 | tem = Fquery_fontset (font, Qnil); |
| 2694 | if (STRINGP (tem)) | 2693 | if (STRINGP (tem)) |
| 2695 | font = x_new_fontset (f, SDATA (tem)); | 2694 | font = x_new_fontset (f, tem); |
| 2696 | else | 2695 | else |
| 2697 | font = x_new_font (f, SDATA (font)); | 2696 | font = x_new_font (f, SDATA (font)); |
| 2698 | } | 2697 | } |
| 2699 | #endif | ||
| 2700 | 2698 | ||
| 2701 | /* Try out a font which we hope has bold and italic variations. */ | 2699 | /* Try out a font which we hope has bold and italic variations. */ |
| 2702 | if (! STRINGP (font)) | 2700 | if (! STRINGP (font)) |
| @@ -3805,16 +3803,14 @@ x_create_tip_frame (dpyinfo, parms, text) | |||
| 3805 | 3803 | ||
| 3806 | BLOCK_INPUT; | 3804 | BLOCK_INPUT; |
| 3807 | /* First, try whatever font the caller has specified. */ | 3805 | /* First, try whatever font the caller has specified. */ |
| 3808 | #if 0 /* MAC_TODO: This crashed */ | ||
| 3809 | if (STRINGP (font)) | 3806 | if (STRINGP (font)) |
| 3810 | { | 3807 | { |
| 3811 | tem = Fquery_fontset (font, Qnil); | 3808 | tem = Fquery_fontset (font, Qnil); |
| 3812 | if (STRINGP (tem)) | 3809 | if (STRINGP (tem)) |
| 3813 | font = x_new_fontset (f, SDATA (tem)); | 3810 | font = x_new_fontset (f, tem); |
| 3814 | else | 3811 | else |
| 3815 | font = x_new_font (f, SDATA (font)); | 3812 | font = x_new_font (f, SDATA (font)); |
| 3816 | } | 3813 | } |
| 3817 | #endif | ||
| 3818 | 3814 | ||
| 3819 | /* Try out a font which we hope has bold and italic variations. */ | 3815 | /* Try out a font which we hope has bold and italic variations. */ |
| 3820 | if (! STRINGP (font)) | 3816 | if (! STRINGP (font)) |