Commit 560fd3fa authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(xftfont_open): For generating a name, start from

96-byte buffer.
parent 10c1758c
......@@ -246,7 +246,7 @@ xftfont_open (f, entity, pixel_size)
font->entity = entity;
font->pixel_size = size;
font->driver = &xftfont_driver;
len = 64;
len = 96;
name = malloc (len);
while (name && font_unparse_fcname (entity, pixel_size, name, len) < 0)
{
......
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