changeset 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 1a6ee3b1c4ed
files src/ftfont.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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