changeset 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 cf803b8f08ad
children 4db8f2c1ab36
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)