# HG changeset patch # User Gerd Moellmann # Date 990025715 0 # Node ID 2cea00ea4d7600a235eabf8e988c6f4cce34e775 # Parent cf803b8f08adab7588d1923922e8499170efbf6c (split_font_name): Use the right field when checking for `[...]' syntax. diff -r cf803b8f08ad -r 2cea00ea4d76 src/xfaces.c --- 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)