mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
; Fix typo in xfont.c
* src/xfont.c (xfont_list): Subtract 9 from name, not 10 + 1.
This commit is contained in:
parent
2f875ead59
commit
301b97eb24
1 changed files with 2 additions and 2 deletions
|
|
@ -487,9 +487,9 @@ xfont_list (struct frame *f, Lisp_Object spec)
|
|||
if (NILP (list) && NILP (registry))
|
||||
{
|
||||
/* Try iso10646-1 */
|
||||
char *r = name + len - sizeof "iso8859-1" - 1;
|
||||
char *r = name + len - (sizeof "iso8859-1" - 1);
|
||||
|
||||
if (r - name + sizeof "iso10646-1" - 1 < 256)
|
||||
if (r - name + (sizeof "iso10646-1" - 1) < 256)
|
||||
{
|
||||
strcpy (r, "iso10646-1");
|
||||
list = xfont_list_pattern (display, name, Qiso10646_1, script);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue