Mercurial > hg > xemacs-beta
diff src/faces.c @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | a4f53d9b3154 |
children | 6240c7796c7a |
line wrap: on
line diff
--- a/src/faces.c Mon Aug 13 11:01:58 2007 +0200 +++ b/src/faces.c Mon Aug 13 11:03:08 2007 +0200 @@ -1568,16 +1568,7 @@ findex = get_builtin_face_cache_index (w, Vdefault_face); merge_face_cachel_data (w, findex, &cachel); - findex = get_merged_face_cache_index (w, &cachel); - if (cachel.merged_faces && - /* merged_faces did not get stored and available via return value */ - Dynarr_at (w->face_cachels, findex).merged_faces != - cachel.merged_faces) - { - Dynarr_free (cachel.merged_faces); - cachel.merged_faces = 0; - } - return findex; + return get_merged_face_cache_index (w, &cachel); } } @@ -1928,12 +1919,8 @@ inst_list); #endif /* HAVE_TTY */ #ifdef HAVE_MS_WINDOWS - inst_list = Fcons (Fcons (list1 (Qmswindows), - build_string ("Fixedsys:Regular:9::Western")), inst_list); - inst_list = Fcons (Fcons (list1 (Qmswindows), - build_string ("Courier:Regular:10::Western")), inst_list); - inst_list = Fcons (Fcons (list1 (Qmswindows), - build_string ("Courier New:Regular:10::Western")), inst_list); + inst_list = Fcons (Fcons (list1 (Qmswindows), build_string ("Courier New")), + inst_list); #endif /* HAVE_MS_WINDOWS */ set_specifier_fallback (Fget (Vdefault_face, Qfont, Qnil), inst_list); }