aboutsummaryrefslogtreecommitdiffstats
path: root/src/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/font.c')
-rw-r--r--src/font.c2
1 files changed, 1 insertions, 1 deletions
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)
1544 int size_found = 1; 1544 int size_found = 1;
1545 1545
1546 for (q = p + 1; *q && *q != ' '; q++) 1546 for (q = p + 1; *q && *q != ' '; q++)
1547 if (! isdigit (*q)) 1547 if (! isdigit (*q) && *q != '.')
1548 { 1548 {
1549 size_found = 0; 1549 size_found = 0;
1550 break; 1550 break;