changeset 90473:9c75458ea910

(xftfont_open): For generating a name, start from 96-byte buffer.
author Kenichi Handa <handa@m17n.org>
date Mon, 19 Jun 2006 01:32:49 +0000
parents 138027c8c982
children 8627c9321afb
files src/xftfont.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xftfont.c	Sat Jun 17 20:57:37 2006 +0000
+++ b/src/xftfont.c	Mon Jun 19 01:32:49 2006 +0000
@@ -246,7 +246,7 @@
   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)
     {