aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-05-16 15:08:35 +0000
committerGerd Moellmann2001-05-16 15:08:35 +0000
commit3849cbf41c5e95e98542d001aa217a3a09b48fc3 (patch)
tree181eeaa3d3292f6e4fcd3e567f0f8aedeb738030 /src
parent3e6ed9704c3d73a487661996612ace0c7db6951a (diff)
downloademacs-3849cbf41c5e95e98542d001aa217a3a09b48fc3.tar.gz
emacs-3849cbf41c5e95e98542d001aa217a3a09b48fc3.zip
(split_font_name): Use the right field when
checking for `[...]' syntax.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 676f1d77254..859c46a703d 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -2227,7 +2227,7 @@ split_font_name (f, font, numeric_p)
2227 2227
2228 /* Check that the matrix contains 4 floating point 2228 /* Check that the matrix contains 4 floating point
2229 numbers. */ 2229 numbers. */
2230 for (j = 0, start = font->fields[i] + 1; 2230 for (j = 0, start = font->fields[i - 1] + 1;
2231 j < 4; 2231 j < 4;
2232 ++j, start = end) 2232 ++j, start = end)
2233 if (strtod (start, &end) == 0 && start == end) 2233 if (strtod (start, &end) == 0 && start == end)