Commit d5188d8c authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(split_font_name): Handle `[...]' for the right

font name fields.
parent 8a1ae4dd
......@@ -2215,8 +2215,8 @@ split_font_name (f, font, numeric_p)
indicated by tilde characters which we replace with
`-' characters, here. */
if (*p == '['
&& (i == XLFD_PIXEL_SIZE
|| i == XLFD_POINT_SIZE))
&& (i - 1 == XLFD_PIXEL_SIZE
|| i - 1 == XLFD_POINT_SIZE))
{
char *start, *end;
int j;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment