aboutsummaryrefslogtreecommitdiffstats
path: root/src/font.c
diff options
context:
space:
mode:
authorPaul Eggert2014-09-23 10:03:48 -0700
committerPaul Eggert2014-09-23 10:03:48 -0700
commit97914756e8de76b8e83550eab2e12e5dfcb87754 (patch)
tree81c4f9d262e1cce19a6294658231bf854a4d8029 /src/font.c
parentccc7be94d73afce4295b6ee7eaa388d1cd930926 (diff)
downloademacs-97914756e8de76b8e83550eab2e12e5dfcb87754.tar.gz
emacs-97914756e8de76b8e83550eab2e12e5dfcb87754.zip
* lisp.h (lispstpcpy): Rename from lispstrcpy, and act like stpcpy.
All callers changed. * xterm.c (x_term_init): Use new functionality to avoid two needs to compute a string length.
Diffstat (limited to 'src/font.c')
-rw-r--r--src/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font.c b/src/font.c
index e8a13b7eeda..1324b6e99c2 100644
--- a/src/font.c
+++ b/src/font.c
@@ -4266,7 +4266,7 @@ the consecutive wildcards are folded into one. */)
4266 { 4266 {
4267 if (NILP (fold_wildcards)) 4267 if (NILP (fold_wildcards))
4268 return font_name; 4268 return font_name;
4269 lispstrcpy (name, font_name); 4269 lispstpcpy (name, font_name);
4270 namelen = SBYTES (font_name); 4270 namelen = SBYTES (font_name);
4271 goto done; 4271 goto done;
4272 } 4272 }