[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 46249f6139d: Fix typos in last change
From: |
Po Lu |
Subject: |
master 46249f6139d: Fix typos in last change |
Date: |
Thu, 7 Sep 2023 23:01:52 -0400 (EDT) |
branch: master
commit 46249f6139d1ea9aeb856febeffe2e4bac912e06
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix typos in last change
* src/font.c (font_dynamic_unparse_xlfd): Remove unused variable.
(Ffont_xlfd_name): Initialize name.
---
src/font.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/font.c b/src/font.c
index 94eff4960ce..d9367929467 100644
--- a/src/font.c
+++ b/src/font.c
@@ -1295,7 +1295,7 @@ font_dynamic_unparse_xlfd (Lisp_Object font, int
pixel_size)
char *p;
const char *f[XLFD_REGISTRY_INDEX + 1];
Lisp_Object val;
- int i, j, len;
+ int i, j;
char *name;
USE_SAFE_ALLOCA;
@@ -4452,6 +4452,7 @@ the consecutive wildcards are folded into one. */)
{
if (NILP (fold_wildcards))
return font_name;
+ name = name_buffer;
lispstpcpy (name, font_name);
namelen = SBYTES (font_name);
goto done;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 46249f6139d: Fix typos in last change,
Po Lu <=