1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 07:01:11 -08:00

* font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437).

This commit is contained in:
Jan Djärv 2010-06-22 08:42:00 +02:00
parent 7f0b7b3e87
commit 32a679fd52
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-06-22 Keith Packard <keithp@keithp.com> (tiny change)
* font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437).
2010-06-20 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (try_scrolling): When scroll-conservatively is set to

View file

@ -1544,7 +1544,7 @@ font_parse_fcname (name, font)
int size_found = 1;
for (q = p + 1; *q && *q != ' '; q++)
if (! isdigit (*q))
if (! isdigit (*q) && *q != '.')
{
size_found = 0;
break;