comparison 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
comparison
equal deleted inserted replaced
102944:44a517fa4d12 102945:f623dc25d37e
185 if (*end) 185 if (*end)
186 { 186 {
187 char *p = alloca (end - str + 1); 187 char *p = alloca (end - str + 1);
188 memcpy (p, str, end - str); 188 memcpy (p, str, end - str);
189 p[end - str] = '\0'; 189 p[end - str] = '\0';
190 end = p + (end - str);
190 str = p; 191 str = p;
191 } 192 }
192 if (xstrcasecmp (str, "Regular") == 0 193 if (xstrcasecmp (str, "Regular") == 0
193 || xstrcasecmp (str, "Bold") == 0 194 || xstrcasecmp (str, "Bold") == 0
194 || xstrcasecmp (str, "Oblique") == 0 195 || xstrcasecmp (str, "Oblique") == 0