summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-04-08 14:46:49 +0000
committerJason Rumney <jasonr@gnu.org>2008-04-08 14:46:49 +0000
commit3bf8d23048c3de42c187b6a48e663444d51bf649 (patch)
tree96949bbce377343a83f0d4adb93bc00dc0265f65 /src
parent0d32c577b1ebd4ca41b9806cce07eb1efb19af15 (diff)
downloademacs-3bf8d23048c3de42c187b6a48e663444d51bf649.tar.gz
(SNAME): Extract only symbol name.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/w32uniscribe.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 30ea46bc470..78f286cde9f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2008-04-08 Jason Rumney <jasonr@gnu.org>
+ * w32uniscribe.c (SNAME): Extract only symbol name.
+
* w32font.h (struct w32_metric_cache): New struct.
(w32font_info): Use it.
(W32METRIC_NO_ATTEMPT, W32METRIC_SUCCESS, W32METRIC_FAIL)
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
index 7ff0a180b6d..6682def4f1a 100644
--- a/src/w32uniscribe.c
+++ b/src/w32uniscribe.c
@@ -538,7 +538,7 @@ add_opentype_font_name_to_list (logical_font, physical_font, font_type,
static char* NOTHING = " ";
-#define SNAME(VAL) SDATA (STRINGP (VAL) ? VAL : SYMBOL_NAME (VAL))
+#define SNAME(VAL) SDATA (SYMBOL_NAME (VAL))
/* Check if font supports the otf script/language/features specified.
OTF_SPEC is in the format