* src/font.c (font_parse_fcname): Fix typo in string length.
This commit is contained in:
parent
0d19d4feaa
commit
ea08011c7e
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue