changeset 60512:d82c0ae36f1e

(x_set_font): Call set_default_ascii_font if an available font is found.
author Kenichi Handa <handa@m17n.org>
date Tue, 08 Mar 2005 08:46:29 +0000
parents 7ee9d8cb89cb
children 0f508b91e017
files src/frame.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Tue Mar 08 08:45:48 2005 +0000
+++ b/src/frame.c	Tue Mar 08 08:46:29 2005 +0000
@@ -3084,6 +3084,7 @@
     error ("The characters of the given font have varying widths");
   else if (STRINGP (result))
     {
+      set_default_ascii_font (result);
       if (STRINGP (fontset_name))
 	{
 	  /* Fontset names are built from ASCII font names, so the