[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 11ff76153e: Make haikufont_list_family actually work
From: |
Po Lu |
Subject: |
master 11ff76153e: Make haikufont_list_family actually work |
Date: |
Wed, 9 Feb 2022 00:09:49 -0500 (EST) |
branch: master
commit 11ff76153e012cf76690568cf82b9a049c40e949
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Make haikufont_list_family actually work
* haikufont.c (haikufont_list_family): Intern returned font
families.
---
src/haikufont.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/haikufont.c b/src/haikufont.c
index ebff619287..e9e788e8e8 100644
--- a/src/haikufont.c
+++ b/src/haikufont.c
@@ -1043,8 +1043,7 @@ haikufont_list_family (struct frame *f)
for (idx = 0; idx < length; ++idx)
{
if (styles[idx][0])
- list = Fcons (build_string_from_utf8 ((char *) &styles[idx]),
- list);
+ list = Fcons (intern ((char *) &styles[idx]), list);
}
free (styles);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 11ff76153e: Make haikufont_list_family actually work,
Po Lu <=