diff src/ftfont.c @ 102945:f623dc25d37e

(get_adstyle_property): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Mon, 13 Apr 2009 12:37:41 +0000
parents 44a517fa4d12
children 18e317a87f12
line wrap: on
line diff
--- a/src/ftfont.c	Mon Apr 13 12:33:13 2009 +0000
+++ b/src/ftfont.c	Mon Apr 13 12:37:41 2009 +0000
@@ -187,6 +187,7 @@
       char *p = alloca (end - str + 1);
       memcpy (p, str, end - str);
       p[end - str] = '\0';
+      end = p + (end - str);
       str = p;
     }
   if (xstrcasecmp (str, "Regular") == 0