Commit ea08011c authored by Chong Yidong's avatar Chong Yidong
Browse files

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

parent 0d19d4fe
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
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment