diff options
| author | Paul Eggert | 2014-09-23 10:03:48 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-09-23 10:03:48 -0700 |
| commit | 97914756e8de76b8e83550eab2e12e5dfcb87754 (patch) | |
| tree | 81c4f9d262e1cce19a6294658231bf854a4d8029 /src/frame.c | |
| parent | ccc7be94d73afce4295b6ee7eaa388d1cd930926 (diff) | |
| download | emacs-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/frame.c')
| -rw-r--r-- | src/frame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c index 51bd8fa7cfc..5e2f351d77a 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4036,8 +4036,8 @@ xrdb_get_resource (XrmDatabase rdb, Lisp_Object attribute, Lisp_Object class, Li | |||
| 4036 | 4036 | ||
| 4037 | /* Start with emacs.FRAMENAME for the name (the specific one) | 4037 | /* Start with emacs.FRAMENAME for the name (the specific one) |
| 4038 | and with `Emacs' for the class key (the general one). */ | 4038 | and with `Emacs' for the class key (the general one). */ |
| 4039 | lispstrcpy (name_key, Vx_resource_name); | 4039 | lispstpcpy (name_key, Vx_resource_name); |
| 4040 | lispstrcpy (class_key, Vx_resource_class); | 4040 | lispstpcpy (class_key, Vx_resource_class); |
| 4041 | 4041 | ||
| 4042 | strcat (class_key, "."); | 4042 | strcat (class_key, "."); |
| 4043 | strcat (class_key, SSDATA (class)); | 4043 | strcat (class_key, SSDATA (class)); |