* src/font.c (Ffont_xlfd_name): Don't use strcpy for overlapping strings.
This commit is contained in:
parent
9b170060ba
commit
a0797d32c9
1 changed files with 1 additions and 1 deletions
|
@ -4360,7 +4360,7 @@ the consecutive wildcards are folded into one. */)
|
|||
|
||||
while ((p1 = strstr (p0, "-*-*")))
|
||||
{
|
||||
strcpy (p1, p1 + 2);
|
||||
memmove (p1, p1 + 2, (name + namelen + 1) - (p1 + 2));
|
||||
namelen -= 2;
|
||||
p0 = p1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue