Mercurial > emacs
diff src/xfaces.c @ 37756:2cea00ea4d76
(split_font_name): Use the right field when
checking for `[...]' syntax.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Wed, 16 May 2001 15:08:35 +0000 |
| parents | d6f944b128c4 |
| children | d4b4c850abc0 |
line wrap: on
line diff
--- a/src/xfaces.c Wed May 16 14:53:37 2001 +0000 +++ b/src/xfaces.c Wed May 16 15:08:35 2001 +0000 @@ -2227,7 +2227,7 @@ /* Check that the matrix contains 4 floating point numbers. */ - for (j = 0, start = font->fields[i] + 1; + for (j = 0, start = font->fields[i - 1] + 1; j < 4; ++j, start = end) if (strtod (start, &end) == 0 && start == end)
