changeset 104894:7f459491fb93

* nsfont.m (ns_get_family): Don't force first letter to uppercase.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Wed, 09 Sep 2009 15:05:47 +0000
parents 511c7f2425a4
children 6fd9d35186e0
files src/ChangeLog src/nsfont.m
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Sep 09 14:47:54 2009 +0000
+++ b/src/ChangeLog	Wed Sep 09 15:05:47 2009 +0000
@@ -1,3 +1,7 @@
+2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* nsfont.m (ns_get_family): Don't force first letter to uppercase.
+
 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* keymap.c (where_is_internal): Filter out shadowed remappings.
--- a/src/nsfont.m	Wed Sep 09 14:47:54 2009 +0000
+++ b/src/nsfont.m	Wed Sep 09 15:05:47 2009 +0000
@@ -102,8 +102,6 @@
       char *tmp = strdup (SDATA (SYMBOL_NAME (tem)));
       NSString *family;
       ns_unescape_name (tmp);
-      /* For names hard-coded into emacs, like 'helvetica' for splash. */
-      tmp[0] = toupper (tmp[0]);
       family = [NSString stringWithUTF8String: tmp];
       free (tmp);
       return family;