with the right value of `i'.
2001-05-14 Gerd Moellmann <gerd@gnu.org>
+ * xfaces.c (split_font_name): Make sure to leave the loop
+ with the right value of `i'.
+
* xfaces.c (split_font_name): Handle matrix transformations
in the pixel and point size fields of XLFD font names.
(xlfd_point_size): Likewise.
{
char *p = xstrlwr (font->name) + 1;
- for (; i < XLFD_LAST; ++i)
+ while (i < XLFD_LAST)
{
font->fields[i] = p;
+ ++i;
/* Pixel and point size may be of the form `[....]'. For
BNF, see XLFD spec, chapter 4. Negative values are