* src/font.c (font_parse_fcname): Fix typo in string length.

This commit is contained in:
Chong Yidong 2011-01-26 11:28:49 -05:00
parent 0d19d4feaa
commit ea08011c7e
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-01-26 Chong Yidong <cyd@stupidchicken.com>
* font.c (font_parse_fcname): Fix typo in string length.
2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
* xdisp.c (handle_fontified_prop): Be careful with font-lock changing

View file

@ -1603,7 +1603,7 @@ font_parse_fcname (name, font)
else if (PROP_MATCH ("Italic", 6))
{
prop_found = 1;
prop = font_intern_prop ("italic", 4, 1);
prop = font_intern_prop ("italic", 6, 1);
FONT_SET_STYLE (font, FONT_SLANT_INDEX, prop);
}
else if (PROP_MATCH ("Oblique", 7))