From 32a679fd52520b7003c745548ce484a00a1ec5eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Tue, 22 Jun 2010 08:42:00 +0200 Subject: [PATCH] * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). --- src/ChangeLog | 4 ++++ src/font.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7405d92e0e6..121d06577b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-06-22 Keith Packard (tiny change) + + * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). + 2010-06-20 Eli Zaretskii * xdisp.c (try_scrolling): When scroll-conservatively is set to diff --git a/src/font.c b/src/font.c index e07dbc5dd16..f9c2381fa70 100644 --- a/src/font.c +++ b/src/font.c @@ -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; -- 2.39.2