* src/font.c (font_find_for_lface) [HAVE_NS]: Ignore case.
authorGlenn Morris <rgm@gnu.org>
Wed, 23 Nov 2011 07:09:27 +0000 (23:09 -0800)
committerGlenn Morris <rgm@gnu.org>
Wed, 23 Nov 2011 07:09:27 +0000 (23:09 -0800)
Fixes: debbugs:2526

src/ChangeLog
src/font.c

index 1dca686..ade7eae 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-23  Glenn Morris  <rgm@gnu.org>
+
+       * font.c (font_find_for_lface) [HAVE_NS]: Ignore case.  (Bug#2526)
+
 2011-11-23  Chong Yidong  <cyd@gnu.org>
 
        * xdisp.c (compute_stop_pos): Check validity of end_charpos before
index 9559c65..35f5703 100644 (file)
@@ -3160,14 +3160,7 @@ font_find_for_lface (FRAME_PTR f, Lisp_Object *attrs, Lisp_Object spec, int c)
   else
     {
       Lisp_Object alters
-       = Fassoc_string (val, Vface_alternative_font_family_alist,
-                         /* Font family names are case-sensitive under NS. */
-#ifndef HAVE_NS
-                        Qt
-#else
-                        Qnil
-#endif
-                        );
+       = Fassoc_string (val, Vface_alternative_font_family_alist, Qt);
 
       if (! NILP (alters))
        {